Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
add a test/all task
Browse files Browse the repository at this point in the history
  • Loading branch information
w33ble committed Dec 15, 2016
1 parent ede52ec commit 9b7c15c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/test/all/README.md
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions tasks/test/all/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./test_all_action');
6 changes: 6 additions & 0 deletions tasks/test/all/test_all_action.js
Original file line number Diff line number Diff line change
@@ -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 });
};

0 comments on commit 9b7c15c

Please sign in to comment.