kibana/tasks/config/intern.js
Matthew Bargar c5565d72c6 Give API tests their own intern config
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00

20 lines
305 B
JavaScript

var path = require('path');
module.exports = function (grunt) {
return {
options: {
runType: 'runner',
config: 'test/intern',
reporters: ['Console']
},
dev: {},
api: {
options: {
runType: 'client',
config: 'test/apiIntern'
}
}
};
};