1 | ;
|
2 |
|
3 | module.exports = function(environment, /* appConfig */) {
|
4 | const ENV = {};
|
5 |
|
6 | if (environment !== 'test') {
|
7 | ENV['ember-a11y-testing'] = {
|
8 | componentOptions: {
|
9 | axeOptions: {
|
10 | rules: {
|
11 | 'region': { enabled: true } // enable region rule
|
12 | },
|
13 | checks: {
|
14 | 'color-contrast': { options: { noScroll: true } } // disable scrolling of color-contrast check
|
15 | }
|
16 | }
|
17 | }
|
18 | };
|
19 | }
|
20 | return ENV;
|
21 | };
|