Commit 36def707 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'fix-ignored-spec-failures' into 'master'

ensure karma fails if it cannot load all spec files

See merge request !9038
parents 0ec91454 8d29e4c4
...@@ -34,7 +34,11 @@ testsContext.keys().forEach(function (path) { ...@@ -34,7 +34,11 @@ testsContext.keys().forEach(function (path) {
try { try {
testsContext(path); testsContext(path);
} catch (err) { } catch (err) {
console.error('[ERROR] WITH SPEC FILE: ', path); console.error('[ERROR] Unable to load spec: ', path);
console.error(err); describe('Test bundle', function () {
it(`includes '${path}'`, function () {
expect(err).toBeNull();
});
});
} }
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment