Skip to content

Commit

Permalink
reset snapshot and test file, rename answer
Browse files Browse the repository at this point in the history
  • Loading branch information
tayiorbeii committed Jul 6, 2022
1 parent c4502d0 commit b4098a2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 131 deletions.
2 changes: 1 addition & 1 deletion exercise4-puppeteer/__snapshots__/a11y-tree.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ Object {
"name": "CampSpots",
"role": "RootWebArea",
}
`;
`;
129 changes: 0 additions & 129 deletions exercise4-puppeteer/a11y-tree.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Accessibility Tree', () => {
})

it(`has the correct axTree`, async () => {
const axTree = await page.accessibility.snapshot({ page })
const axTree = await page.accessibility.snapshot()
expect(axTree).toMatchSnapshot()
})
})

0 comments on commit b4098a2

Please sign in to comment.