fix(ci): use shell expansion to run test files #746
nodejs.yml
on: pull_request
Test on Node.js
/
prepare-node-matrix
Lint using ESLint
25s
Matrix: Test on Node.js / test
Waiting for pending jobs
Annotations
16 errors and 6 notices
asks for auth data if no ncurc is found:
test/unit/auth.test.js#L157
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2131) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2131) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2131) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
asks for auth data if ncurc is invalid json:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2168) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2168) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2168) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
returns ncurc data if valid in HOME:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2180) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2180) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2180) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
returns ncurc data if valid in XDG_CONFIG_HOME:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2191) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2191) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2191) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
prefers XDG_CONFIG_HOME/ncurc to HOME/.ncurc:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2202) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2202) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2202) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
permits capital letters in token format:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2344) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2344) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2344) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
permits underscores in token format:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2380) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2380) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2380) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
Test on Node.js / test (21, ubuntu-latest, experimental)
Process completed with exit code 1.
|
asks for auth data if no ncurc is found:
test/unit/auth.test.js#L157
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2555) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2555) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2555) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
asks for auth data if ncurc is invalid json:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2562) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2562) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2562) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
returns ncurc data if valid in HOME:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2564) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2564) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2564) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
returns ncurc data if valid in XDG_CONFIG_HOME:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2568) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2568) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2568) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
prefers XDG_CONFIG_HOME/ncurc to HOME/.ncurc:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2573) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2573) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2573) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
permits capital letters in token format:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2589) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2589) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2589) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
permits underscores in token format:
test/unit/auth.test.js#L157
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2591) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '(node:2591) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n' +
+ '(Use `node --trace-deprecation ...` to show where the warning was created)\n'
- ''
at ChildProcess.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js:157:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:2591) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n',
expected: '',
operator: 'strictEqual'
}
}
|
Test on Node.js / test (21, macos-latest, experimental)
Process completed with exit code 1.
|
Test on Node.js / test (18, ubuntu-latest)
Total Tests: 169
Suites π: 49
Passed β
: 169
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 3416.246ms
|
Test on Node.js / test (21, ubuntu-latest, experimental)
Total Tests: 169
Suites π: 49
Passed β
: 162
Failed β: 7
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 3996.639ms
|
Test on Node.js / test (20, ubuntu-latest)
Total Tests: 169
Suites π: 49
Passed β
: 169
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 3771.733ms
|
Test on Node.js / test (21, macos-latest, experimental)
Total Tests: 169
Suites π: 49
Passed β
: 162
Failed β: 7
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 6653.503ms
|
Test on Node.js / test (20, macos-latest)
Total Tests: 169
Suites π: 49
Passed β
: 169
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 3980.177ms
|
Test on Node.js / test (18, macos-latest)
Total Tests: 169
Suites π: 49
Passed β
: 169
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 8441.232ms
|