build: switch default to ESM
[poolifier.git] / tests / worker-files / cluster / echoWorker.cjs
similarity index 64%
rename from tests/worker-files/cluster/echoWorker.js
rename to tests/worker-files/cluster/echoWorker.cjs
index f9308c70c4bbbecfa0d205db06867a46562e2ac2..4534d985b976c2d01d22c0cbd5d82b466a449dab 100644 (file)
@@ -1,5 +1,5 @@
 'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib')
+const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
 
 function echo (data) {
   return data