03dad2827e
* run mocha tests from x-pack with root mocha script * Only run Karma tests in xpack intake job * disable failing suites * fix typo * skip correct suite (there are multiple root suites) * support disabling junit reporting with $DISABLE_JUNIT_REPORTER * don't generate junit in ispec_plugin tests
22 lines
730 B
JavaScript
22 lines
730 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
require('../src/setup_node_env');
|
|
|
|
const { buildTask } = require('./tasks/build');
|
|
const { devTask } = require('./tasks/dev');
|
|
const { testTask, testBrowserTask, testBrowserDevTask } = require('./tasks/test');
|
|
const { prepareTask } = require('./tasks/prepare');
|
|
|
|
// export the tasks that are runnable from the CLI
|
|
module.exports = {
|
|
build: buildTask,
|
|
dev: devTask,
|
|
prepare: prepareTask,
|
|
test: testTask,
|
|
testbrowser: testBrowserTask,
|
|
'testbrowser-dev': testBrowserDevTask,
|
|
};
|