Skip to content

Commit 956f796

Browse files
committed
fixing snapshots
1 parent 0ca7703 commit 956f796

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

__tests__/shared/components/__snapshots__/GenericLink.jsx.snap

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`Absolute link, starting with http:// 1`] = `
55
className={null}
66
href="http://www.domain.com/test"
77
onClick={null}
8+
onKeyDown={null}
89
onMouseDown={null}
910
rel="noopener noreferrer"
1011
target=""
@@ -18,6 +19,7 @@ exports[`Absolute link, starting with https:// 1`] = `
1819
className={null}
1920
href="https://www.domain.com/test"
2021
onClick={[Function]}
22+
onKeyDown={null}
2123
onMouseDown={null}
2224
rel="noopener noreferrer"
2325
target=""
@@ -31,6 +33,7 @@ exports[`Anchor link 1`] = `
3133
className={null}
3234
href="#anchor"
3335
onClick={null}
36+
onKeyDown={null}
3437
onMouseDown={null}
3538
rel="noopener noreferrer"
3639
target=""
@@ -45,7 +48,7 @@ exports[`Relative link 1`] = `
4548
onClick={[Function]}
4649
type="button"
4750
>
48-
{"to":"http/relative/link","className":null,"onMouseDown":null,"replace":false,"children":"RELATIVE LINK"}
51+
{"to":"http/relative/link","className":null,"onMouseDown":null,"onKeyDown":null,"replace":false,"children":"RELATIVE LINK"}
4952
</button>
5053
`;
5154

@@ -54,6 +57,7 @@ exports[`Relative link, with \`enforceA\` 1`] = `
5457
className={null}
5558
href="/relative/link"
5659
onClick={null}
60+
onKeyDown={null}
5761
onMouseDown={null}
5862
rel="noopener noreferrer"
5963
target=""
@@ -67,6 +71,7 @@ exports[`Relative link, with \`openNewTab\` 1`] = `
6771
className={null}
6872
href="relative/link"
6973
onClick={null}
74+
onKeyDown={null}
7075
onMouseDown={null}
7176
rel="noopener noreferrer"
7277
target="_blank"

__tests__/shared/components/__snapshots__/Link.jsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`Matches snapshots 1`] = `
55
className={null}
66
enforceA={false}
77
onClick={null}
8+
onKeyDown={null}
89
onMouseDown={null}
910
openNewTab={false}
1011
replace={false}

0 commit comments

Comments
 (0)