Skip to content

Commit 556ea45

Browse files
committed
explicitly set type: commonjs for Deno
1 parent 47759f8 commit 556ea45

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"orm",
1818
"db"
1919
],
20+
"type": "commonjs",
2021
"license": "MIT",
2122
"dependencies": {
2223
"bson": "^6.10.1",

test/deno.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const fixtures = require('./mocha-fixtures.js')
1616
await fixtures.mochaGlobalSetup();
1717

1818
const child_args = [
19-
// args is required to be set manually, because there is currently no way to get all arguments from deno
20-
'--allow-env', '--allow-read', '--allow-net', '--allow-run', '--allow-sys', '--allow-write',
2119
...Deno.args,
2220
resolve(fileURLToPath(import.meta.url), '../deno_mocha.js')
2321
];

0 commit comments

Comments
 (0)