* [eslint] enable no-var and autofix * [eslint] enable prefer-const and autofix * [eslint] fix autofix-incompatible no-var and prefer-const violations
30 lines
593 B
JavaScript
30 lines
593 B
JavaScript
const path = require('path');
|
|
|
|
|
|
module.exports = function (grunt) {
|
|
return {
|
|
options: {
|
|
runType: 'runner',
|
|
config: 'test/intern',
|
|
bail: true,
|
|
reporters: ['Console'],
|
|
grep: grunt.option('grep'),
|
|
functionalSuites: grunt.option('functionalSuites'),
|
|
appSuites: grunt.option('appSuites')
|
|
},
|
|
dev: {},
|
|
api: {
|
|
options: {
|
|
runType: 'client',
|
|
config: 'test/intern_api'
|
|
}
|
|
},
|
|
visualRegression: {
|
|
options: {
|
|
runType: 'runner',
|
|
config: 'test/intern_visual_regression'
|
|
}
|
|
}
|
|
};
|
|
};
|