repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: cleanup rollup configuration
[poolifier.git]
/
tests
/
worker
/
thread-worker.test.js
diff --git
a/tests/worker/thread-worker.test.js
b/tests/worker/thread-worker.test.js
index 624e395c04f80cb752adc73f8e95d84b19300dab..ff3cbff3f53e07d461f101b2e85098b06303aa5d 100644
(file)
--- a/
tests/worker/thread-worker.test.js
+++ b/
tests/worker/thread-worker.test.js
@@
-17,7
+17,7
@@
describe('Thread worker test suite', () => {
expect(worker.opts.maxInactiveTime).toStrictEqual(60000)
})
expect(worker.opts.maxInactiveTime).toStrictEqual(60000)
})
- it('Verify worker invoke the getMainWorker
and postMessage
methods', () => {
+ it('Verify worker invoke the getMainWorker
() and postMessage()
methods', () => {
const worker = new SpyWorker(() => {})
worker.sendToMainWorker({ ok: 1 })
expect(numberOfMessagesPosted).toBe(1)
const worker = new SpyWorker(() => {})
worker.sendToMainWorker({ ok: 1 })
expect(numberOfMessagesPosted).toBe(1)