diff --git a/tests/redirect.test.ts b/tests/redirect.test.ts index b52d353..d73009a 100644 --- a/tests/redirect.test.ts +++ b/tests/redirect.test.ts @@ -13,13 +13,13 @@ import { const hostnameParameters: HostnameRedirect['parameters'] = { hostname: 'example.org', - matchType: 'hostname', + matcherType: 'hostname', toMatch: 'example.com', type: 'hostname', }; const simpleParameters: SimpleRedirect['parameters'] = { - matchType: 'hostname', + matcherType: 'hostname', target: 'https://example.org/simple', toMatch: 'example.com', type: 'simple', diff --git a/tests/snapshots/tests/redirect.test.ts.md b/tests/snapshots/tests/redirect.test.ts.md index c83d504..80edd98 100644 --- a/tests/snapshots/tests/redirect.test.ts.md +++ b/tests/snapshots/tests/redirect.test.ts.md @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev). HostnameRedirect { parameters: { hostname: 'example.org', - matchType: 'hostname', + matcherType: 'hostname', toMatch: 'example.com', type: 'hostname', }, @@ -21,7 +21,7 @@ Generated by [AVA](https://avajs.dev). SimpleRedirect { parameters: { - matchType: 'hostname', + matcherType: 'hostname', target: 'https://example.org/simple', toMatch: 'example.com', type: 'simple', diff --git a/tests/snapshots/tests/redirect.test.ts.snap b/tests/snapshots/tests/redirect.test.ts.snap index 51e3391..50f6b83 100644 Binary files a/tests/snapshots/tests/redirect.test.ts.snap and b/tests/snapshots/tests/redirect.test.ts.snap differ