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.
12 lines
286 B
JavaScript
12 lines
286 B
JavaScript
define({
|
|
suites: [
|
|
'test/unit/api/index_patterns/index'
|
|
],
|
|
excludeInstrumentation: /(fixtures|node_modules)\//,
|
|
loaderOptions: {
|
|
paths: {
|
|
'bluebird': './node_modules/bluebird/js/browser/bluebird.js',
|
|
'moment': './node_modules/moment/moment.js'
|
|
}
|
|
}
|
|
});
|