test: update match() call format
This commit is contained in:
parent
f32f624916
commit
66d70ffc44
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue