Skip to content

Commit 5e02019

Browse files
committed
chore: update
1 parent c1813ff commit 5e02019

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/integration/resolve/index.test.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ test('resolve data url', async () => {
1414
`);
1515
});
1616

17-
// TODO: false module path is different from linux and windows
18-
// EXTERNAL MODULE: <ROOT>/rslib/e2e/cases/resolve/false/./browser-false/util (ignored)
1917
test('resolve false', async () => {
2018
const fixturePath = join(__dirname, 'false');
2119
const { entries, isSuccess } = await buildAndGetResults({ fixturePath });
@@ -33,6 +31,13 @@ test('resolve false', async () => {
3331
console.log('bar: ', "bar");
3432
"
3533
`);
34+
} else {
35+
expect(
36+
entries.esm,
37+
).toContain(`var util_ignored_ = __webpack_require__("?b5d4");
38+
var util_ignored_default = /*#__PURE__*/ __webpack_require__.n(util_ignored_);
39+
console.log('foo:', util_ignored_default());
40+
console.log('bar: ', "bar");`);
3641
}
3742
});
3843

0 commit comments

Comments
 (0)