Skip to content

Commit

Permalink
test: improved test robustness (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-GF authored Oct 7, 2024
1 parent 791983e commit 53312a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 53312a5

Please sign in to comment.