Skip to content

Commit 5afece7

Browse files
committed
test: full browser test
1 parent 4ee88c7 commit 5afece7

File tree

3 files changed

+485
-39
lines changed

3 files changed

+485
-39
lines changed

test/browser/fixtures/aria-snapshot/basic.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ test('toMatchAriaInlineSnapshot simple', () => {
1919
<button aria-label="User 42">Profile</button>
2020
<p>You have 7 notifications</p>
2121
`
22-
// manually updated regex pattern from "User 42" to /User \\d+/
2322
expect(document.body).toMatchAriaInlineSnapshot(`
24-
- button /User \\d+/: Profile
23+
- button "User 42": Profile
2524
- paragraph: You have 7 notifications
2625
`)
2726
})

0 commit comments

Comments
 (0)