From 2f5b7c3b530a90d719ed8e5f5130fbaddfea4fbe Mon Sep 17 00:00:00 2001 From: Steven Lambert <2433219+straker@users.noreply.github.com> Date: Wed, 10 Jul 2024 08:57:57 -0600 Subject: [PATCH] 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 --- test/karma.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 1e4f824d25..ebb94e5692 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -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: {