Fix test typing.
This commit is contained in:
parent
1c7d4ca34b
commit
b54d6ab0c2
|
@ -68,7 +68,7 @@ test('Redirect.isMatch', (t) => {
|
|||
|
||||
const invalidRedirect = new HostnameRedirect({
|
||||
test: 'invalid',
|
||||
} as unknown as Redirects['parameters']);
|
||||
} as unknown as HostnameRedirect['parameters']);
|
||||
|
||||
const samples: Array<[Redirects, UrlSamples]> = [
|
||||
[invalidRedirect, [['https://example.org', false]]],
|
||||
|
|
Loading…
Reference in New Issue