build: switch default to ESM
[poolifier.git] / tests / worker-files / cluster / emptyWorker.cjs
similarity index 65%
rename from tests/worker-files/cluster/emptyWorker.js
rename to tests/worker-files/cluster/emptyWorker.cjs
index 02a733da0b9ada70a623f54d57f446c9ba2ad672..9c6072af255284a9ff1debe20fb77a0d49804c13 100644 (file)
@@ -1,5 +1,5 @@
 'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib')
+const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
 
 function test () {}