From 7cd93a605fe97858ee4c41c63ef8f95be830bcdd Mon Sep 17 00:00:00 2001 From: Paulo Ragonha Date: Sun, 25 Sep 2016 11:36:13 +0200 Subject: [PATCH] =?UTF-8?q?Document=20the=20test=20bundler=20=F0=9F=93=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- karma-static-files/test-bundle.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/karma-static-files/test-bundle.js b/karma-static-files/test-bundle.js index f5f7b31..c6e3ed2 100644 --- a/karma-static-files/test-bundle.js +++ b/karma-static-files/test-bundle.js @@ -1,2 +1,6 @@ +/** + * Sagui test bundler that finds all test files in a project + * for Karma to run them. + */ const testsContext = require.context('../../../src', true, /\.spec\..+$/) testsContext.keys().forEach(testsContext)