diff options
author | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-07 22:00:44 +0000 |
---|---|---|
committer | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-07 22:00:44 +0000 |
commit | 36def7074324772e5707b5c5fed563437eb47e5f (patch) | |
tree | a83f6174f8f36d972f696d545429f03605f0ebc9 /spec/javascripts | |
parent | 0ec914544fe9c8de6a7c83e37011063926e2f9b5 (diff) | |
parent | 8d29e4c4e3efec92526f512f59bd9fa5dc99ef1f (diff) | |
download | gitlab-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.js | 8 |
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(); + }); + }); } }); |