-describe('Cluster worker test suite', () => {
- const sendStub = stub().returns()
- class SpyWorker extends ClusterWorker {
- getMainWorker () {
- return { send: sendStub }
- }
- }
+import { ClusterWorker } from '../../lib/index.cjs'
+import { DEFAULT_TASK_NAME } from '../../lib/utils.cjs'