Closed j-tafoya closed 2 years ago
Meeting with Jonathan to set up the unit test.
//Example unit test for accessibility using jest-axe above
$ npm install jest-axe --save-dev
import React from "react" import App from "./App" import { render } from "@testing-library/react" import { axe, toHaveNoViolations } from "jest-axe"
expect.extend(toHaveNoViolations)
it("should not have any accessibility violations", async () => {
const { container } = render(
Unit test was successful
Add to Actions pipeline
https://www.adrianbolonio.com/en/accessibility-github-actions/