[Error [ERR_TEST_FAILURE]: thrown from sync fail todo] {
failureType: 'testCodeFailure',
cause: Error: thrown from sync fail todo
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: thrown from sync fail todo with message] {
failureType: 'testCodeFailure',
cause: Error: thrown from sync fail todo with message
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: thrown from sync throw fail] {
failureType: 'testCodeFailure',
cause: Error: thrown from sync throw fail
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: thrown from async throw fail] {
failureType: 'testCodeFailure',
cause: Error: thrown from async throw fail
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: thrown from async throw fail] {
failureType: 'testCodeFailure',
cause: Error: thrown from async throw fail
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
true !== false
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
true !== false
*
*
*
*
*
*
* {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: true,
expected: false,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: rejected from reject fail] {
failureType: 'testCodeFailure',
cause: Error: rejected from reject fail
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: thrown from subtest sync throw fail
* {
failureType: 'testCodeFailure',
cause: Error: thrown from subtest sync throw fail
*
*
*
*
*
*
*
*
*
at Test.postRun (node:internal/test_runner/test:715:19),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: Symbol(thrown symbol from sync throw non-error fail)] { failureType: 'testCodeFailure', cause: Symbol(thrown symbol from sync throw non-error fail), code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled', code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: this should be executed] {
failureType: 'testCodeFailure',
cause: Error: this should be executed
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: callback failure] {
failureType: 'testCodeFailure',
cause: Error: callback failure
*
at process.processImmediate (node:internal/timers:476:21),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: passed a callback but also returned a Promise] { failureType: 'callbackAndPromisePresent', cause: 'passed a callback but also returned a Promise', code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: thrown from callback throw] {
failureType: 'testCodeFailure',
cause: Error: thrown from callback throw
*
*
*
*
*
*
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: callback invoked multiple times
*
* {
failureType: 'multipleCallbackInvocations',
cause: 'callback invoked multiple times',
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: callback invoked multiple times
* {
failureType: 'uncaughtException',
cause: Error [ERR_TEST_FAILURE]: callback invoked multiple times
* {
failureType: 'multipleCallbackInvocations',
cause: 'callback invoked multiple times',
code: 'ERR_TEST_FAILURE'
},
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: thrown from callback async throw
* {
failureType: 'uncaughtException',
cause: Error: thrown from callback async throw
*
at process.processImmediate (node:internal/timers:476:21),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: customized] { failureType: 'testCodeFailure', cause: customized, code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: {
foo: 1,
[Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}] {
failureType: 'testCodeFailure',
cause: { foo: 1, [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]] },
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: thrown from subtest sync throw fails at first
* {
failureType: 'testCodeFailure',
cause: Error: thrown from subtest sync throw fails at first
*
*
*
*
*
*
*
*
*
at Test.postRun (node:internal/test_runner/test:715:19),
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: thrown from subtest sync throw fails at second
* {
failureType: 'testCodeFailure',
cause: Error: thrown from subtest sync throw fails at second
*
*
*
*
*
*
*
*
*
at async Test.run (node:internal/test_runner/test:632:9),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: test timed out after 5ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 5ms', code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: test timed out after 5ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 5ms', code: 'ERR_TEST_FAILURE' }
[Error [ERR_TEST_FAILURE]: custom error] { failureType: 'testCodeFailure', cause: 'custom error', code: 'ERR_TEST_FAILURE' }
Error [ERR_TEST_FAILURE]: foo
* {
failureType: 'uncaughtException',
cause: Error: foo
*
*
at process.processTimers (node:internal/timers:512:7),
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: bar
* {
failureType: 'unhandledRejection',
cause: Error: bar
*
*
at process.processTimers (node:internal/timers:512:7),
code: 'ERR_TEST_FAILURE'
}
[Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal:
{
bar: 1,
foo: 1
}
should loosely deep-equal
<ref *1> {
bar: 2,
c: [Circular *1]
}] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
{
bar: 1,
foo: 1
}
should loosely deep-equal
<ref *1> {
bar: 2,
c: [Circular *1]
}
* {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepEqual'
},
code: 'ERR_TEST_FAILURE'
}
Error [ERR_TEST_FAILURE]: test could not be started because its parent finished
* {
failureType: 'parentAlreadyFinished',
cause: 'test could not be started because its parent finished',
code: 'ERR_TEST_FAILURE'
}