Update dependency vitest to v2 #1283
Annotations
8 errors
test/unit.test.ts > failOnConsoleError() > detection of testingType > WHEN running e2e tests THEN spies set on window:before:load:
test/unit.test.ts#L46
Error: Invalid Chai property: calledWith
❯ test/unit.test.ts:46:30
|
test/unit.test.ts > failOnConsoleError() > detection of testingType > WHEN running component tests THEN spies set in before hook:
test/unit.test.ts#L55
Error: Invalid Chai property: calledWith
❯ test/unit.test.ts:55:32
|
test/unit.test.ts > validateConfig() > WHEN consoleTypes is not valid ([]) THEN throw AssertionError:
test/unit.test.ts#L131
AssertionError: expected [Function] to throw 'AssertionError' but 'AssertionError: expected [] not to be…' was thrown
Expected: "AssertionError"
Received: "AssertionError: expected [] not to be empty"
❯ test/unit.test.ts:131:53
|
test/unit.test.ts > validateConfig() > WHEN consoleTypes is not valid ([""]) THEN throw AssertionError:
test/unit.test.ts#L131
AssertionError: expected [Function] to throw 'AssertionError' but 'AssertionError: expected [ \'error\',…' was thrown
Expected: "AssertionError"
Received: "AssertionError: expected [ 'error', 'warn', 'info', …(3) ] to include ''"
❯ test/unit.test.ts:131:53
|
test/unit.test.ts > validateConfig() > WHEN consoleTypes is not valid ([3]) THEN throw AssertionError:
test/unit.test.ts#L131
AssertionError: expected [Function] to throw 'AssertionError' but 'AssertionError: expected [ \'error\',…' was thrown
Expected: "AssertionError"
Received: "AssertionError: expected [ 'error', 'warn', 'info', …(3) ] to include 3"
❯ test/unit.test.ts:131:53
|
test/unit.test.ts > validateConfig() > WHEN consoleTypes is not valid (["NotAValidConsoleType"]) THEN throw AssertionError:
test/unit.test.ts#L131
AssertionError: expected [Function] to throw 'AssertionError' but 'AssertionError: expected [ \'error\',…' was thrown
Expected: "AssertionError"
Received: "AssertionError: expected [ 'error', 'warn', 'info', …(3) ] to include 'NotAValidConsoleType'"
❯ test/unit.test.ts:131:53
|
test/unit.test.ts > resetSpies() > when resetHistory is called then spies should be resetted:
test/unit.test.ts#L173
Error: Invalid Chai property: called. Did you mean "all"?
❯ test/unit.test.ts:173:36
|
build
Process completed with exit code 1.
|