build: switch default to ESM
[poolifier.git] / tests / worker / cluster-worker.test.mjs
index b785010ec5cf7b61999852c53658091abba0e5f5..33ddf374099ceeaea63acddd095531ae266d6667 100644 (file)
@@ -1,7 +1,7 @@
 import { expect } from 'expect'
 import { restore, stub } from 'sinon'
-import { ClusterWorker } from '../../lib/index.js'
-import { DEFAULT_TASK_NAME } from '../../lib/utils.js'
+import { ClusterWorker } from '../../lib/index.cjs'
+import { DEFAULT_TASK_NAME } from '../../lib/utils.cjs'
 
 describe('Cluster worker test suite', () => {
   afterEach(() => {