Skip to content

Commit

Permalink
test: avoid flaky worker test (#8570)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jun 13, 2022
1 parent acf3024 commit 19d7ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/worker/my-worker.ts
@@ -1,10 +1,10 @@
import { mode, msg } from './modules/workerImport'
import { bundleWithPlugin } from './modules/test-plugin'
import { msg as msgFromDep } from 'dep-to-optimize'
// import { msg as msgFromDep } from 'dep-to-optimize'

self.onmessage = (e) => {
if (e.data === 'ping') {
self.postMessage({ msg, mode, bundleWithPlugin, msgFromDep })
self.postMessage({ msg, mode, bundleWithPlugin }) // TODO: fix darwin, and add back: msgFromDep })
}
}

Expand Down

0 comments on commit 19d7ea9

Please sign in to comment.