refactor: move message channel property from worker info to node
[poolifier.git] / tests / pools / abstract / abstract-pool.test.js
index 5af1591207feca5269881d640db718b351aa66f3..5c367aa2c0ebf52be17b51dc8f961d70cfabc564 100644 (file)
@@ -1,4 +1,3 @@
-const { MessageChannel } = require('worker_threads')
 const { expect } = require('expect')
 const {
   DynamicClusterPool,
@@ -588,8 +587,7 @@ describe('Abstract pool test suite', () => {
         id: expect.any(Number),
         type: WorkerTypes.thread,
         dynamic: false,
-        ready: true,
-        messageChannel: expect.any(MessageChannel)
+        ready: true
       })
     }
   })