test: update match() call format

This commit is contained in:
dumbmoron 2024-08-08 16:35:19 +00:00
parent f32f624916
commit 66d70ffc44
No known key found for this signature in database

View file

@ -43,7 +43,7 @@ for (let i in services) {
throw `Invalid URL: ${chck.url}` throw `Invalid URL: ${chck.url}`
} }
let j = await match(parsed.host, parsed.patternMatch, "en", chck); let j = await match(parsed.host, parsed.patternMatch, chck);
console.log('\nReceived:'); console.log('\nReceived:');
console.log(j) console.log(j)
if (j.status === test.expected.code && j.body.status === test.expected.status) { if (j.status === test.expected.code && j.body.status === test.expected.status) {