Skip to content

chore(deps): update dependency vitest to v1 #376

chore(deps): update dependency vitest to v1

chore(deps): update dependency vitest to v1 #376

Triggered via pull request April 30, 2024 09:29
Status Failure
Total duration 59s
Artifacts

unit-test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
tests/transform.test.ts > transform > basic: tests/transform.test.ts#L20
Error: Snapshot `transform > basic 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // tests/fixtures/basic.ts - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:20:22
tests/transform.test.ts > transform > virtual module: tests/transform.test.ts#L52
Error: Snapshot `transform > virtual module 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // vmodule:/vmodule/foo - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:52:22
test (ubuntu-latest, 16)
Process completed with exit code 1.
lint: src/index.ts#L4
TypeScript will only remove the inline type specifiers which will leave behind a side effect import at runtime. Convert this to a top-level type qualifier to properly remove the entire import
lint: src/options.ts#L1
TypeScript will only remove the inline type specifiers which will leave behind a side effect import at runtime. Convert this to a top-level type qualifier to properly remove the entire import
lint: tests/transform.test.ts#L3
TypeScript will only remove the inline type specifiers which will leave behind a side effect import at runtime. Convert this to a top-level type qualifier to properly remove the entire import
lint: tsconfig.json#L5
Expected object keys to be in specified order. 'lib' should be before 'module'
lint: tsconfig.json#L8
Expected object keys to be in specified order. 'moduleResolution' should be before 'esModuleInterop'
lint: tsconfig.json#L10
Expected object keys to be in specified order. 'noUnusedLocals' should be before 'skipLibCheck'
lint: tsconfig.json#L11
Expected object keys to be in specified order. 'types' should be before 'noUnusedLocals'
lint
Process completed with exit code 1.
tests/transform.test.ts > transform > basic: tests/transform.test.ts#L20
Error: Snapshot `transform > basic 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // tests/fixtures/basic.ts - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:20:22
tests/transform.test.ts > transform > virtual module: tests/transform.test.ts#L52
Error: Snapshot `transform > virtual module 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // vmodule:/vmodule/foo - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:52:22
test (ubuntu-latest, 18)
Process completed with exit code 1.
tests/transform.test.ts > transform > basic: tests/transform.test.ts#L20
Error: Snapshot `transform > basic 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // tests/fixtures/basic.ts - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:20:22
tests/transform.test.ts > transform > virtual module: tests/transform.test.ts#L52
Error: Snapshot `transform > virtual module 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // vmodule:/vmodule/foo - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:52:22
test (windows-latest, 18)
Process completed with exit code 1.
tests/transform.test.ts > transform > basic: tests/transform.test.ts#L20
Error: Snapshot `transform > basic 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // tests/fixtures/basic.ts - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:20:22
tests/transform.test.ts > transform > virtual module: tests/transform.test.ts#L52
Error: Snapshot `transform > virtual module 1` mismatched - Expected + Received - "\"use strict\"; + ""use strict"; (() => { // vmodule:/vmodule/foo - var expected = \"expected\"; + var expected = "expected"; })();" ❯ tests/transform.test.ts:52:22
test (windows-latest, 16)
Process completed with exit code 1.