build: switch default to ESM
[poolifier.git] / tests / worker / thread-worker.test.mjs
index 81b096f2b8b308812089cdebfb234e15954199ba..77bb6c08937dd2937bb069e702be43d526865585 100644 (file)
@@ -1,7 +1,7 @@
 import { expect } from 'expect'
 import { restore, stub } from 'sinon'
-import { ThreadWorker } from '../../lib/index.js'
-import { DEFAULT_TASK_NAME } from '../../lib/utils.js'
+import { ThreadWorker } from '../../lib/index.cjs'
+import { DEFAULT_TASK_NAME } from '../../lib/utils.cjs'
 
 describe('Thread worker test suite', () => {
   afterEach(() => {