/axe-unit-tests

Example project for writing unit tests with aXe-core

Primary LanguageJavaScript

Writing unit tests with aXe-core

This example demonstrates how to write unit tests with aXe-core

Getting started

  • Download and install Node.js. Instructions here: https://nodejs.org/
  • Clone project from Github: git clone https://github.com/anneceh/axe-unit-tests/
  • cd into the project catalog: cd axe-unit-tests
  • Install dependencies with npm install

To run the example

  • Run tests with npm test

Common errors

  • You get code ENOENT when you run npm install
  • Problem: you are in the wrong directory
  • Solution: cd into the project catalog: cd axe-unit-tests