From 81669cc5358432fab1f41d5b65565be6cf1b8f7d Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 18 Oct 2022 21:43:50 +0200 Subject: [PATCH] Update tests & snapshots with adjusted names. --- tests/redirect.test.ts | 4 ++-- tests/snapshots/tests/redirect.test.ts.md | 4 ++-- tests/snapshots/tests/redirect.test.ts.snap | Bin 513 -> 513 bytes 3 files changed, 4 insertions(+), 4 deletions(-) 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 51e3391668468fa21693b2355d8f7cbe48836d20..50f6b83982e344164c8b8bc71fc39d59a04567b1 100644 GIT binary patch literal 513 zcmV+c0{;C$RzVn&|ADqn(HU5qMoDw5JIw z+b$72OCO5}00000000BclD$sDFc8OcEwmMg(yA3gOdu8}%7=syp92gm2niSpo7F=Pj@oHWvg|3L;4i!`oL6d;v{+?Fe`!JO~Y0C`C5 zRF3I4m&+M2WB?eD1vsQ5MMxUZpN9dukj@|%(wFSNp}jkbSBiIv5eVf&B}ha>`wSSS zoP?6hnBhaz!XQ6qj%V{}SJbuKL5E@02?3R03^R6X)K6{rPHW8m~p+rma~s`<2tH2YOhi}GVzDUx$E`u%Pjnq$#2B=m-K zg;lp2%vK8p-G?aEfO;0Msik6^djYAK>CjK*w>XB29xzPBFqAxo=A_A_x!yeGqP2=# z;@@BqDIY9ODukWw1pD;A3ieC82PEE{-kbr)a~wyr2OOiFiq;F5c@5?h45!g+Tm}FD Do*C|s literal 513 zcmV+c0{;C$RzVopG+m_qN`)aifTg6-Yxp1ZL1K}{HHr~P=ODY~N~|&G`!qlf z(mSPN`pssu1`HYi1`Gil(veX}8j#9ChAyNt$c6MJQ@6BtPw__a(Z~zsLnTN=M0*Sv zrksS5>@&lMsD%N3&K%F?c~?}m+J?W+iT) zZQ4xAN!=@D??$t|3pB1Mdx!Qc|GJLm7TcJ6Lwk1=uN0pY6Mr}N_lBjBi7H1m9XAm@ zxm+kT6{8>vH)Y532djYAKY0*u^_c(^jE-*~TFcdt7=9I~#xn4iz;$juK z#Li$5DIY9ODukVF1^fKJ3f89G0}^jeZ_a?@C61%s1&*;+Me7F4yaw|HTx1MTSOx$9 D19tH%