Swap some test cases to vitest #10
Annotations
10 errors and 1 warning
tests/suites/connection.test.ts > connection tests > runCommand (ILE):
src/api/tests/suites/connection.test.ts#L145
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ tests/suites/connection.test.ts:145:26
|
tests/suites/content.test.ts > Content Tests > memberResolve with variants:
src/api/tests/suites/content.test.ts#L67
AssertionError: expected undefined to deeply equal { asp: undefined, …(5) }
- Expected:
Object {
"asp": undefined,
"basename": "O_ABC#@$.MBR",
"extension": "MBR",
"file": "O_ABC#@$",
"library": "ILEDITOR",
"name": "O_ABC#@$",
}
+ Received:
undefined
❯ tests/suites/content.test.ts:67:20
|
tests/suites/content.test.ts > Content Tests > objectResolve .DTAARA with variants:
src/api/tests/suites/content.test.ts#L138
AssertionError: expected undefined to be 'ILEDITOR' // Object.is equality
- Expected:
"ILEDITOR"
+ Received:
undefined
❯ tests/suites/content.test.ts:138:17
|
tests/suites/content.test.ts > Content Tests > streamfileResolve:
src/api/tests/suites/content.test.ts#L165
AssertionError: expected undefined to be '/QOpenSys/pkgs/bin/git' // Object.is equality
- Expected:
"/QOpenSys/pkgs/bin/git"
+ Received:
undefined
❯ tests/suites/content.test.ts:165:28
|
tests/suites/content.test.ts > Content Tests > streamfileResolve with multiple names:
src/api/tests/suites/content.test.ts#L181
AssertionError: expected undefined to be '/QOpenSys/pkgs/bin/git' // Object.is equality
- Expected:
"/QOpenSys/pkgs/bin/git"
+ Received:
undefined
❯ tests/suites/content.test.ts:181:28
|
tests/suites/content.test.ts > Content Tests > getMemberList (advanced filtering):
src/api/tests/suites/content.test.ts#L438
AssertionError: expected +0 not to be +0 // Object.is equality
❯ tests/suites/content.test.ts:438:38
|
tests/suites/content.test.ts > Content Tests > should count members:
src/api/tests/suites/content.test.ts#L593
Error: Failed to create member ILEDITOR/O_Puhc7iXI,MEMBER0: liblist: 001-0081 Error CPF2110 found adding library QBLDSYSR to library list.
❯ tests/suites/content.test.ts:593:21
|
tests/suites/content.test.ts > Content Tests > should handle long library name:
src/api/tests/suites/content.test.ts#L638
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ tests/suites/content.test.ts:638:31
|
tests/suites/encoding.test.ts > Encoding tests > Test members with shell character $:
src/api/tests/suites/encoding.test.ts#L168
AssertionError: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ tests/suites/encoding.test.ts:168:26
|
tests/suites/encoding.test.ts > Encoding tests > Test members with shell character #:
src/api/tests/suites/encoding.test.ts#L168
AssertionError: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ tests/suites/encoding.test.ts:168:26
|
Test runner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|