Skip to content

Update dependency vitest to v2 #1212

Update dependency vitest to v2

Update dependency vitest to v2 #1212

Triggered via pull request October 1, 2024 03:33
Status Failure
Total duration 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
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.