From 873c84122ee29202638c4d2e4766ce0f9a162f82 Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Sat, 22 Aug 2026 22:06:31 +0200 Subject: [PATCH] test: remove unused experimentalZstd option --- test/json.js | 4 ++-- test/raw.js | 4 ++-- test/text.js | 4 ++-- test/urlencoded.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/json.js b/test/json.js index a31eee7f..25d4cfff 100644 --- a/test/json.js +++ b/test/json.js @@ -709,7 +709,7 @@ describe('bodyParser.json()', function () { }) zstandardit('should support zstandard encoding', function (done) { - const server = createServer({ experimentalZstd: true, limit: '1kb' }) + const server = createServer({ limit: '1kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/json') @@ -718,7 +718,7 @@ describe('bodyParser.json()', function () { }) nozstandardit('should throw 415 if there\'s no zstandard support', function (done) { - const server = createServer({ experimentalZstd: true, limit: '1kb' }) + const server = createServer({ limit: '1kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/json') diff --git a/test/raw.js b/test/raw.js index 873d07c7..7b3888d1 100644 --- a/test/raw.js +++ b/test/raw.js @@ -465,7 +465,7 @@ describe('bodyParser.raw()', function () { }) zstandardit('should support zstandard encoding', function (done) { - const server = createServer({ experimentalZstd: true, limit: '10kb' }) + const server = createServer({ limit: '10kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/octet-stream') @@ -474,7 +474,7 @@ describe('bodyParser.raw()', function () { }) nozstandardit('should throw 415 if there\'s no zstandard support', function (done) { - const server = createServer({ experimentalZstd: true, limit: '10kb' }) + const server = createServer({ limit: '10kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/octet-stream') diff --git a/test/text.js b/test/text.js index 8838a717..3847c043 100644 --- a/test/text.js +++ b/test/text.js @@ -535,7 +535,7 @@ describe('bodyParser.text()', function () { }) zstandardit('should support zstandard encoding', function (done) { - const server = createServer({ experimentalZstd: true, limit: '10kb' }) + const server = createServer({ limit: '10kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'text/plain') @@ -544,7 +544,7 @@ describe('bodyParser.text()', function () { }) nozstandardit('should throw 415 if there\'s no zstandard support', function (done) { - const server = createServer({ experimentalZstd: true, limit: '10kb' }) + const server = createServer({ limit: '10kb' }) const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'text/plain') diff --git a/test/urlencoded.js b/test/urlencoded.js index 7d09d373..e4007c53 100644 --- a/test/urlencoded.js +++ b/test/urlencoded.js @@ -917,7 +917,7 @@ describe('bodyParser.urlencoded()', function () { }) zstandardit('should support zstandard encoding', function (done) { - const server = createServer({ experimentalZstd: true }) + const server = createServer() const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/x-www-form-urlencoded') @@ -926,7 +926,7 @@ describe('bodyParser.urlencoded()', function () { }) nozstandardit('should throw 415 if there\'s no zstandard support', function (done) { - const server = createServer({ experimentalZstd: true }) + const server = createServer() const test = request(server).post('/') test.set('Content-Encoding', 'zstd') test.set('Content-Type', 'application/x-www-form-urlencoded')