avoid warnings on test

This commit is contained in:
Christian Kellner
2025-09-03 14:47:56 +02:00
parent b29fc4b183
commit 1854b421af

4
test/esmock-loader.mjs Normal file
View File

@@ -0,0 +1,4 @@
import { register } from 'node:module';
import { pathToFileURL } from 'node:url';
register('esmock', pathToFileURL('./'));