Skip to content

Commit 2f5b7c3

Browse files
authored
test: don't load axe.min (#4533)
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
1 parent a6361bb commit 2f5b7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ module.exports = function (config) {
100100
served: true
101101
},
102102
'axe.js',
103-
'axe.min.js',
103+
{ pattern: 'axe.min.js', included: false, served: true },
104104
'test/testutils.js'
105105
].concat(testPaths),
106106
proxies: {

0 commit comments

Comments
 (0)