Build modern CommonJS and support package.json exports (#336) #1649
Annotations
12 errors and 4 warnings
test/integration.spec.ts > can build a monorepo project:
test/integration.spec.ts#L184
Error: Snapshot `can build a monorepo project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:184:63
|
test/integration.spec.ts > can build a monorepo pnpm project:
test/integration.spec.ts#L532
Error: Snapshot `can build a monorepo pnpm project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:532:63
|
unit / ubuntu-latest / node v23
Process completed with exit code 1.
|
test/integration.spec.ts > can build a monorepo project:
test/integration.spec.ts#L184
Error: Snapshot `can build a monorepo project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:184:63
|
test/integration.spec.ts > can build a monorepo pnpm project:
test/integration.spec.ts#L532
Error: Snapshot `can build a monorepo pnpm project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:532:63
|
unit / ubuntu-latest / node v22
Process completed with exit code 1.
|
test/integration.spec.ts > can build a monorepo project:
test/integration.spec.ts#L184
Error: Snapshot `can build a monorepo project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:184:63
|
test/integration.spec.ts > can build a monorepo pnpm project:
test/integration.spec.ts#L532
Error: Snapshot `can build a monorepo pnpm project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:532:63
|
unit / ubuntu-latest / node v20
Process completed with exit code 1.
|
test/integration.spec.ts > can build a monorepo project:
test/integration.spec.ts#L184
Error: Snapshot `can build a monorepo project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:184:63
|
test/integration.spec.ts > can build a monorepo pnpm project:
test/integration.spec.ts#L532
Error: Snapshot `can build a monorepo pnpm project 5` mismatched
- Expected
+ Received
@@ -18,7 +18,7 @@
exports.foo = foo;
const foo_js_1 = require("./foo.js");
__exportStar(require("./foo.js"), exports);
exports.b = 'SUP' + foo_js_1.b;
function foo() {
- return import('./foo.js');
+ return Promise.resolve().then(() => require('./foo.js'));
}
❯ test/integration.spec.ts:532:63
|
unit / ubuntu-latest / node v18
Process completed with exit code 1.
|
unit / ubuntu-latest / node v23
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit / ubuntu-latest / node v22
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit / ubuntu-latest / node v20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit / ubuntu-latest / node v18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|