Skip to content

Commit

Permalink
test: don't load axe.min (#4533)
Browse files Browse the repository at this point in the history
Noticed this while trying to debug a test that we were loading
`axe.min.js` into the unit tests instead of using `axe.js`. This made
debugging impossible, so I'm just serving the file needed for the
[colorjs
test](https://github.com/dequelabs/axe-core/blob/develop/test/integration/full/patch/patch.mjs#L43)
instead of loading it for the entire test run.

No QA required
  • Loading branch information
straker committed Jul 10, 2024
1 parent a6361bb commit 2f5b7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = function (config) {
served: true
},
'axe.js',
'axe.min.js',
{ pattern: 'axe.min.js', included: false, served: true },
'test/testutils.js'
].concat(testPaths),
proxies: {
Expand Down

0 comments on commit 2f5b7c3

Please sign in to comment.