build: switch default to ESM
[poolifier.git] / tests / utils.test.mjs
index fd4f776bf2409c8a725e8d3631be9e8981e545c4..2d1ee9e6f3c70d70bf103793fea14d0dbadb80d2 100644 (file)
@@ -23,8 +23,8 @@ import {
   round,
   secureRandom,
   sleep
-} from '../lib/utils.js'
-import { KillBehaviors, WorkerTypes } from '../lib/index.js'
+} from '../lib/utils.cjs'
+import { KillBehaviors, WorkerTypes } from '../lib/index.cjs'
 
 describe('Utils test suite', () => {
   it('Verify DEFAULT_TASK_NAME value', () => {