2017-09-19 14:47:10 +00:00
|
|
|
module.exports = {
|
|
|
|
globals: {
|
|
|
|
server: true,
|
2017-10-11 17:12:10 +00:00
|
|
|
selectChoose: true,
|
|
|
|
selectSearch: true,
|
|
|
|
removeMultipleOption: true,
|
|
|
|
clearSelected: true,
|
2018-08-16 17:56:37 +00:00
|
|
|
getCodeMirrorInstance: true,
|
2017-09-19 14:47:10 +00:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
embertest: true,
|
|
|
|
},
|
2021-12-28 16:05:16 +00:00
|
|
|
extends: ['plugin:qunit/recommended'],
|
2020-08-25 15:56:02 +00:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ['acceptance/**/*-test.js'],
|
|
|
|
plugins: ['ember-a11y-testing'],
|
|
|
|
rules: {
|
|
|
|
'ember-a11y-testing/a11y-audit-called': 'error',
|
|
|
|
},
|
|
|
|
settings: {
|
|
|
|
'ember-a11y-testing': {
|
|
|
|
auditModule: {
|
|
|
|
package: 'nomad-ui/tests/helpers/a11y-audit',
|
|
|
|
exportName: 'default',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-07-30 17:40:05 +00:00
|
|
|
},
|
2020-08-25 15:56:02 +00:00
|
|
|
{
|
|
|
|
files: ['integration/components/**/*-test.js'],
|
|
|
|
plugins: ['ember-a11y-testing'],
|
|
|
|
rules: {
|
|
|
|
'ember-a11y-testing/a11y-audit-called': 'error',
|
|
|
|
},
|
|
|
|
settings: {
|
|
|
|
'ember-a11y-testing': {
|
|
|
|
auditModule: {
|
|
|
|
package: 'nomad-ui/tests/helpers/a11y-audit',
|
|
|
|
exportName: 'componentA11yAudit',
|
|
|
|
},
|
2020-07-30 17:40:05 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-08-25 15:56:02 +00:00
|
|
|
],
|
2017-09-19 14:47:10 +00:00
|
|
|
};
|