Last active
March 23, 2021 10:11
-
-
Save tidusia/53c0bd56241086a8b45009bda96b1c6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test("should be accessible and match snapshot", async () => { | |
const { container } = render(<Default {...props} />); | |
expect(await axe(container)).toHaveNoViolations(); | |
expect(container.firstChild).toMatchSnapshot(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment