From 53312a5bee605e2486fa734756abb3c0bc2f891d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Garc=C3=ADa=20Fern=C3=A1ndez?= Date: Mon, 7 Oct 2024 10:58:07 +0200 Subject: [PATCH] test: improved test robustness (#320) --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index f2a2e94..34ddb41 100644 --- a/test/test.js +++ b/test/test.js @@ -441,7 +441,7 @@ var util = require('util') var res = new FakeResponse() res.on('finish', function () { - assert.equal(res.getHeader('Access-Control-Allow-Headers'), 'header1,header2') + assert.strictEqual(res.getHeader('Access-Control-Allow-Headers'), 'header1,header2') assert.equal(res.getHeader('Vary'), undefined) cb() })