diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c68d78..d5b1aaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: node-version: - - 10 + - 14 - 20 steps: diff --git a/test/node.ts b/test/node.ts index 0fd6926..91e25a6 100644 --- a/test/node.ts +++ b/test/node.ts @@ -109,7 +109,7 @@ describe("engine.io-parser (node.js only)", () => { }); }); - if (typeof TextEncoder === "function") { + if (typeof TransformStream === "function") { describe("createPacketEncoderStream", () => { it("should encode a binary packet (Buffer)", async () => { const stream = createPacketEncoderStream();