Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: test the examples using local version of axe #2309

Merged
merged 1 commit into from
Jun 19, 2020
Merged

Conversation

straker
Copy link
Contributor

@straker straker commented Jun 18, 2020

I noticed that all our examples use an axe-core version from npm and not the local axe.js file. This meant that us testing the examples for every pr and release does not verify the current code works in the examples, only that the last released version of axe-core works.

Since the examples are there as examples, they should act as standalone examples and install axe-core from npm as a normal user would. However, we can still test the local copy of axe for our tests by overriding the npm version with the local version just in the test run.

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@straker straker merged commit 3f13424 into develop Jun 19, 2020
@straker straker deleted the test-examples branch June 19, 2020 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants