Skip to content

fix: treat default condition as esm or cjs #1698

fix: treat default condition as esm or cjs

fix: treat default condition as esm or cjs #1698

Triggered via pull request February 15, 2025 11:32
Status Failure
Total duration 3m 16s
Artifacts

ci.yml

on: pull_request
Matrix: install_and_test
Matrix: install_and_test_win
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/integration/default-default-export-different-ext/index.test.ts > integration - default-default-export-different-ext > should not export esm module in cjs file: test/integration/default-default-export-different-ext/index.test.ts#L38
Error: Snapshot `integration - default-default-export-different-ext > should not export esm module in cjs file 2` mismatched - Expected + Received - "export * from './b.js'; + "export * from './b.cjs'; const a = 'a'; export { a }; " ❯ test/integration/default-default-export-different-ext/index.test.ts:38:30
Linux - Node 18
Process completed with exit code 1.
Linux - Node 22
The job was canceled because "_18" failed.
test/integration/default-default-export-different-ext/index.test.ts > integration - default-default-export-different-ext > should not export esm module in cjs file: test/integration/default-default-export-different-ext/index.test.ts#L38
Error: Snapshot `integration - default-default-export-different-ext > should not export esm module in cjs file 2` mismatched - Expected + Received - "export * from './b.js'; + "export * from './b.cjs'; const a = 'a'; export { a }; " ❯ test/integration/default-default-export-different-ext/index.test.ts:38:30
Linux - Node 22
Process completed with exit code 1.
Linux - Node 20
The job was canceled because "_18" failed.
test/integration/default-default-export-different-ext/index.test.ts > integration - default-default-export-different-ext > should not export esm module in cjs file: test/integration/default-default-export-different-ext/index.test.ts#L38
Error: Snapshot `integration - default-default-export-different-ext > should not export esm module in cjs file 2` mismatched - Expected + Received - "export * from './b.js'; + "export * from './b.cjs'; const a = 'a'; export { a }; " ❯ test/integration/default-default-export-different-ext/index.test.ts:38:30
Linux - Node 20
The operation was canceled.
test/integration/default-default-export-different-ext/index.test.ts > integration - default-default-export-different-ext > should not export esm module in cjs file: test/integration/default-default-export-different-ext/index.test.ts#L38
Error: Snapshot `integration - default-default-export-different-ext > should not export esm module in cjs file 2` mismatched - Expected + Received - "export * from './b.js'; + "export * from './b.cjs'; const a = 'a'; export { a }; " ❯ test/integration/default-default-export-different-ext/index.test.ts:38:30
Windows - Node 20
Process completed with exit code 1.