From 4577dc29093786b30817ed66f41b0f2018ae2589 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Tue, 21 Feb 2023 09:59:36 -0500 Subject: [PATCH] test: pin Deno std version in tests, try removing test from #13053 to see if that fixes deno tests --- test/deno.js | 2 +- test/docs/debug.test.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/test/deno.js b/test/deno.js index 9245e25da40..6515f93f86a 100644 --- a/test/deno.js +++ b/test/deno.js @@ -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', { diff --git a/test/docs/debug.test.js b/test/docs/debug.test.js index b03524d8f49..b12e9c65bbf 100644 --- a/test/docs/debug.test.js +++ b/test/docs/debug.test.js @@ -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')); - }); });