build: switch default to ESM
[poolifier.git] / tests / test-utils.cjs
similarity index 98%
rename from tests/test-utils.js
rename to tests/test-utils.cjs
index ef759824ce7e9b4d0294d84f2fa6dff02aba493a..6dba586641d3b1906caee80c96f38e364b3e9497 100644 (file)
@@ -1,4 +1,4 @@
-const { TaskFunctions } = require('./test-types.js')
+const { TaskFunctions } = require('./test-types.cjs')
 
 const waitWorkerEvents = async (pool, workerEvent, numberOfEventsToWait) => {
   return await new Promise(resolve => {