Skip to content

Update dependency vitest to v2 #1283

Update dependency vitest to v2

Update dependency vitest to v2 #1283

Triggered via pull request November 1, 2024 06:23
Status Failure
Total duration 30s
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.