Skip to content

Commit

Permalink
test: pin Deno std version in tests, try removing test from #13053 to…
Browse files Browse the repository at this point in the history
… see if that fixes deno tests
  • Loading branch information
vkarpov15 committed Feb 21, 2023
1 parent 10a7708 commit 4577dc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion test/deno.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import { createRequire } from "https://deno.land/std/node/module.ts";
import { createRequire } from "https://deno.land/std@0.177.0/node/module.ts";

// Workaround for Mocha getting terminal width, which currently requires `--unstable`
Object.defineProperty(process.stdout, 'getWindowSize', {
Expand Down
8 changes: 0 additions & 8 deletions test/docs/debug.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,4 @@ describe('debug: shell', function() {
// Last log should not have been overwritten
assert.equal(storedLog, lastLog);
});

it('should avoid sending null session option with document ops (gh-13052)', async function() {
const schema = new Schema({ name: String });
const Test = db.model('gh_13052', schema);

await Test.create({ name: 'foo' });
assert.equal(false, lastLog.includes('session'));
});
});

0 comments on commit 4577dc2

Please sign in to comment.