From 2dd5fa9dd466c6b39b0764d53fbda6185b4916ce Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Thu, 22 Jun 2023 07:45:27 +0200 Subject: [PATCH] ci: add Node.js 20 in the test matrix Reference: https://github.com/nodejs/Release --- .github/workflows/ci.yml | 1 + test/socket.ts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6bdc483ee..2acd981914 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: matrix: node-version: - 16 + - 20 steps: - name: Checkout repository diff --git a/test/socket.ts b/test/socket.ts index 94613c53cf..1fb2f9eafa 100644 --- a/test/socket.ts +++ b/test/socket.ts @@ -852,10 +852,6 @@ describe("socket", () => { it("should not crash when messing with Object prototype (and other globals)", (done) => { // @ts-ignore Object.prototype.foo = "bar"; - // @ts-ignore - global.File = ""; - // @ts-ignore - global.Blob = []; const io = new Server(0); const socket = createClient(io);