Skip to content

Commit

Permalink
feat: one import module
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Mar 10, 2022
1 parent 7a4db00 commit 71fe7b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/worker/__tests__/worker.spec.ts
Expand Up @@ -55,7 +55,7 @@ test('worker emitted', async () => {
await untilUpdated(() => page.textContent('.nested-worker'), 'pong')
await untilUpdated(
() => page.textContent('.nested-worker-dynamic-import'),
'{"msg":"module","msg2":"module2","msg3":"module3"}'
'{"msg":"module","msg1":"module1","msg2":"module2","msg3":"module3"}'
)
})

Expand Down
1 change: 1 addition & 0 deletions packages/playground/worker/modules/module1.js
@@ -0,0 +1 @@
export const msg1 = 'module1'
1 change: 1 addition & 0 deletions packages/playground/worker/modules/module2.js
@@ -1,2 +1,3 @@
export * from './module'
export * from './module1'
export const msg2 = 'module2'

0 comments on commit 71fe7b5

Please sign in to comment.