From c8a48b610141ca524cc120d36e15cd819190c107 Mon Sep 17 00:00:00 2001 From: Eli Perelman Date: Thu, 1 Sep 2016 14:38:44 -0500 Subject: [PATCH] Adding single-run test for karma --- packages/neutrino/commands/test/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/neutrino/commands/test/index.js b/packages/neutrino/commands/test/index.js index 30da75c..e5e37ef 100644 --- a/packages/neutrino/commands/test/index.js +++ b/packages/neutrino/commands/test/index.js @@ -14,6 +14,10 @@ const browser = (config, args, done) => { karma.singleRun = !args.options.watch; karma.autoWatch = args.options.watch; + if (args.files) { + karma.files = args.files; + } + new Server(karma, done).start(); };