Skip to content

Commit 824486f

Browse files
committed
test: enable optimize-deps cjs named import test case
1 parent b63345a commit 824486f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

playground/optimize-deps/__tests__/optimize-deps.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ test('default import from cjs (cjs-dep-cjs-compiled-from-cjs)', async () => {
4242
).toBe('ok')
4343
})
4444

45-
// NOTE: rolldown behaves differently from @rollup/plugin-commonjs https://github.com/rolldown/rolldown/issues/2031
46-
test.skip('dynamic imports from cjs dep (react)', async () => {
45+
test('dynamic imports from cjs dep (react)', async () => {
4746
await expectWithRetry(() => page.textContent('.cjs-dynamic button')).toBe(
4847
'count is 0',
4948
)

0 commit comments

Comments
 (0)