summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-07 22:00:44 +0000
committerFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-07 22:00:44 +0000
commit36def7074324772e5707b5c5fed563437eb47e5f (patch)
treea83f6174f8f36d972f696d545429f03605f0ebc9 /spec/javascripts
parent0ec914544fe9c8de6a7c83e37011063926e2f9b5 (diff)
parent8d29e4c4e3efec92526f512f59bd9fa5dc99ef1f (diff)
downloadgitlab-ce-36def7074324772e5707b5c5fed563437eb47e5f.tar.gz
Merge branch 'fix-ignored-spec-failures' into 'master'
ensure karma fails if it cannot load all spec files See merge request !9038
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/test_bundle.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js
index bf11ddbbea8..7df8d2fd8b4 100644
--- a/spec/javascripts/test_bundle.js
+++ b/spec/javascripts/test_bundle.js
@@ -34,7 +34,11 @@ testsContext.keys().forEach(function (path) {
try {
testsContext(path);
} catch (err) {
- console.error('[ERROR] WITH SPEC FILE: ', path);
- console.error(err);
+ console.error('[ERROR] Unable to load spec: ', path);
+ describe('Test bundle', function () {
+ it(`includes '${path}'`, function () {
+ expect(err).toBeNull();
+ });
+ });
}
});