1 parent f1b0c4d commit 7dab95aCopy full SHA for 7dab95a
1 file changed
__tests__/integration/http-server.test.ts
@@ -1672,7 +1672,7 @@ async function runTests() {
1672
assert.equal(res.status, 403);
1673
assert.equal(res.body.error.code, -32000);
1674
assert.equal(res.body.error.message, 'Invalid Host header');
1675
- assert.doesNotMatch(res.text, /evil\.example\.com/);
+ assert.equal(res.text.includes('evil.example.com'), false);
1676
}, results);
1677
1678
await testFunction('multiple sessions can initialize without "Already connected" error', async () => {
0 commit comments