build: switch default to ESM
[poolifier.git] / tests / pools / thread / dynamic.test.mjs
index f7329710bd3c90e2264bebed7ab7aa628c0bccae..06cf64c64081353b9b5db74aed8b2dc39088ffa7 100644 (file)
@@ -1,7 +1,7 @@
 import { expect } from 'expect'
-import { DynamicThreadPool, PoolEvents } from '../../../lib/index.js'
-import { TaskFunctions } from '../../test-types.js'
-import { sleep, waitWorkerEvents } from '../../test-utils.js'
+import { DynamicThreadPool, PoolEvents } from '../../../lib/index.cjs'
+import { TaskFunctions } from '../../test-types.cjs'
+import { sleep, waitWorkerEvents } from '../../test-utils.cjs'
 
 describe('Dynamic thread pool test suite', () => {
   const min = 1