Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf0 committed Jun 6, 2023
1 parent 61853a1 commit d552163
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/configCases/split-chunks/issue-17332/index.js
@@ -1,3 +1,4 @@
it('should run', () => {
import(/* webpackChunkName: "foo" */ "./foo")
it('should run', async () => {
const { default: foo } = await import(/* webpackChunkName: "foo" */ "./foo");
expect(foo).toBe('foo.js')
})

0 comments on commit d552163

Please sign in to comment.