Skip to content

Commit 2dd5fa9

Browse files
ci: add Node.js 20 in the test matrix
Reference: https://github.com/nodejs/Release
1 parent a5dff0a commit 2dd5fa9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
matrix:
1919
node-version:
2020
- 16
21+
- 20
2122

2223
steps:
2324
- name: Checkout repository

test/socket.ts

-4
Original file line numberDiff line numberDiff line change
@@ -852,10 +852,6 @@ describe("socket", () => {
852852
it("should not crash when messing with Object prototype (and other globals)", (done) => {
853853
// @ts-ignore
854854
Object.prototype.foo = "bar";
855-
// @ts-ignore
856-
global.File = "";
857-
// @ts-ignore
858-
global.Blob = [];
859855
const io = new Server(0);
860856
const socket = createClient(io);
861857

0 commit comments

Comments
 (0)