Skip to content

Commit a270f7c

Browse files
committed
Fix snapshots
1 parent 867f408 commit a270f7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,14 @@ it('can build a monorepo project', async () => {
198198
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
199199
};
200200
Object.defineProperty(exports, "__esModule", { value: true });
201-
exports.foo = exports.b = void 0;
201+
exports.b = void 0;
202+
exports.foo = foo;
202203
const foo_js_1 = require("./foo.js");
203204
__exportStar(require("./foo.js"), exports);
204205
exports.b = 'SUP' + foo_js_1.b;
205206
function foo() {
206207
return Promise.resolve().then(() => require('./foo.js'));
207208
}
208-
exports.foo = foo;
209209
`);
210210
expect(await fse.readFile(files.b['typings/index.d.ts'], 'utf8')).toMatchInlineSnapshot(`
211211
export * from './foo.js';
@@ -546,14 +546,14 @@ it('can build a monorepo pnpm project', async () => {
546546
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
547547
};
548548
Object.defineProperty(exports, "__esModule", { value: true });
549-
exports.foo = exports.b = void 0;
549+
exports.b = void 0;
550+
exports.foo = foo;
550551
const foo_js_1 = require("./foo.js");
551552
__exportStar(require("./foo.js"), exports);
552553
exports.b = 'SUP' + foo_js_1.b;
553554
function foo() {
554555
return Promise.resolve().then(() => require('./foo.js'));
555556
}
556-
exports.foo = foo;
557557
`);
558558
expect(await fse.readFile(files.b['typings/index.d.ts'], 'utf8')).toMatchInlineSnapshot(`
559559
export * from './foo.js';

0 commit comments

Comments
 (0)