mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add a test/all task
Original commit: elastic/kibana-plugin-helpers@9b7c15cf32
This commit is contained in:
parent
df21e54e57
commit
f1a9be1933
3 changed files with 10 additions and 0 deletions
3
packages/kbn-plugin-helpers/tasks/test/all/README.md
Normal file
3
packages/kbn-plugin-helpers/tasks/test/all/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Runs both the server and browser tests, in that order.
|
||||
|
||||
This is just a simple caller to both `test/server` and `test/browser`
|
1
packages/kbn-plugin-helpers/tasks/test/all/index.js
Normal file
1
packages/kbn-plugin-helpers/tasks/test/all/index.js
Normal file
|
@ -0,0 +1 @@
|
|||
module.exports = require('./test_all_action');
|
|
@ -0,0 +1,6 @@
|
|||
var run = require('../../../lib/run');
|
||||
|
||||
module.exports = function testAllAction(plugin) {
|
||||
run('test/server').call(null);
|
||||
run('test/browser').call(null, { runOnce: true });
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue