Skip to content

feat: use oxc for non-native define plugin #453

feat: use oxc for non-native define plugin

feat: use oxc for non-native define plugin #453

Triggered via push December 3, 2024 03:45
Status Failure
Total duration 3m 45s
Artifacts

ci.yml

on: push
Get changed files
4s
Get changed files
Lint: node-20, ubuntu-latest
1m 32s
Lint: node-20, ubuntu-latest
Matrix: test
Build & Test Passed or Skipped
0s
Build & Test Passed or Skipped
Build & Test Failed
0s
Build & Test Failed
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.hot with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L62
AssertionError: expected 'const hot = undefined;\n' to be 'const hot = void 0;\n' // Object.is equality - Expected + Received - const hot = void 0; + const hot = undefined; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:62:61
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.env.UNKNOWN with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L92
AssertionError: expected 'const foo = undefined …' to be 'const foo = import.meta.env.UNKNOWN;\n' // Object.is equality - Expected + Received - const foo = import.meta.env.UNKNOWN; + const foo = undefined ; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:92:69
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.hot with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L62
AssertionError: expected 'const hot = undefined;\n' to be 'const hot = void 0;\n' // Object.is equality - Expected + Received - const hot = void 0; + const hot = undefined; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:62:61
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.env.UNKNOWN with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L92
AssertionError: expected 'const foo = undefined …' to be 'const foo = import.meta.env.UNKNOWN;\n' // Object.is equality - Expected + Received - const foo = import.meta.env.UNKNOWN; + const foo = undefined ; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:92:69
Build&Test: node-22, macos-latest
Process completed with exit code 1.
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.hot with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L62
AssertionError: expected 'const hot = undefined;\n' to be 'const hot = void 0;\n' // Object.is equality - Expected + Received - const hot = void 0; + const hot = undefined; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:62:61
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.env.UNKNOWN with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L92
AssertionError: expected 'const foo = undefined …' to be 'const foo = import.meta.env.UNKNOWN;\n' // Object.is equality - Expected + Received - const foo = import.meta.env.UNKNOWN; + const foo = undefined ; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:92:69
Build&Test: node-18, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.hot with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L62
AssertionError: expected 'const hot = undefined;\n' to be 'const hot = void 0;\n' // Object.is equality - Expected + Received - const hot = void 0; + const hot = undefined; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:62:61
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.env.UNKNOWN with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L92
AssertionError: expected 'const foo = undefined …' to be 'const foo = import.meta.env.UNKNOWN;\n' // Object.is equality - Expected + Received - const foo = import.meta.env.UNKNOWN; + const foo = undefined ; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:92:69
Build&Test: node-22, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.hot with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L62
AssertionError: expected 'const hot = undefined;\n' to be 'const hot = void 0;\n' // Object.is equality - Expected + Received - const hot = void 0; + const hot = undefined; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:62:61
packages/vite/src/node/__tests__/plugins/define.spec.ts > definePlugin > preserve import.meta.env.UNKNOWN with override: packages/vite/src/node/__tests__/plugins/define.spec.ts#L92
AssertionError: expected 'const foo = undefined …' to be 'const foo = import.meta.env.UNKNOWN;\n' // Object.is equality - Expected + Received - const foo = import.meta.env.UNKNOWN; + const foo = undefined ; ❯ packages/vite/src/node/__tests__/plugins/define.spec.ts:92:69
Build&Test: node-22, windows-latest
Process completed with exit code 1.
Get changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-18, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-22, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test Failed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636