Fix test typing.

This commit is contained in:
Bauke 2022-10-18 18:57:15 +02:00
parent 1c7d4ca34b
commit b54d6ab0c2
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ test('Redirect.isMatch', (t) => {
const invalidRedirect = new HostnameRedirect({ const invalidRedirect = new HostnameRedirect({
test: 'invalid', test: 'invalid',
} as unknown as Redirects['parameters']); } as unknown as HostnameRedirect['parameters']);
const samples: Array<[Redirects, UrlSamples]> = [ const samples: Array<[Redirects, UrlSamples]> = [
[invalidRedirect, [['https://example.org', false]]], [invalidRedirect, [['https://example.org', false]]],