feat(ncu-ci)!: require --certify-safe
flag
#892
Annotations
3 errors and 1 notice
Run tests:
test/unit/ci_start.test.js#L93
[Error [ERR_TEST_FAILURE]: false == true] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: false == true
at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:93:12)
at async Test.run (node:internal/test_runner/test:640:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run tests:
test/unit/pr_checker.test.js#L2197
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
{
eolIndent: [],
...
table: [],
updateSpinner: [],
+ warn: [
+ [
+ 'No approving reviews found'
+ ]
+ ],
- warn: [],
write: []
}] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
{
eolIndent: [],
...
table: [],
updateSpinner: [],
+ warn: [
+ [
+ 'No approving reviews found'
+ ]
+ ],
- warn: [],
write: []
}
at TestCLI.assertCalledWith (file:///home/runner/work/node-core-utils/node-core-utils/test/fixtures/test_cli.js:38:12)
at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/pr_checker.test.js:2197:11)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: { eolIndent: [], setFigureIndent: [], prompt: [], setAssumeYes: [], startSpinner: [], updateSpinner: [], stopSpinner: [], write: [], log: [], table: [], separator: [], ok: [], warn: [Array], info: [], error: [], setExitCode: [] },
expected: { eolIndent: [], setFigureIndent: [], prompt: [], setAssumeYes: [], startSpinner: [], updateSpinner: [], stopSpinner: [], write: [], log: [], table: [], separator: [], ok: [], warn: [], info: [], error: [], setExitCode: [] },
operator: 'deepStrictEqual'
}
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 170
Suites π: 49
Passed β
: 168
Failed β: 2
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 3186.808ms
|
Loading