Skip to content

Commit

Permalink
explicitly set type: commonjs for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jan 15, 2025
1 parent 47759f8 commit 556ea45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"orm",
"db"
],
"type": "commonjs",
"license": "MIT",
"dependencies": {
"bson": "^6.10.1",
Expand Down
2 changes: 0 additions & 2 deletions test/deno.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ const fixtures = require('./mocha-fixtures.js')
await fixtures.mochaGlobalSetup();

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

0 comments on commit 556ea45

Please sign in to comment.