Skip to content
Extraits de code Groupes Projets
Valider 37b34237 rédigé par Steffen van Bergerem's avatar Steffen van Bergerem Validation de Benjamin Neff
Parcourir les fichiers

Force jasmine fails on syntax errors

closes #7185
parent cdce2537
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## Refactor ## Refactor
* Use string-direction gem for rtl detection [#7181](https://github.com/diaspora/diaspora/pull/7181) * Use string-direction gem for rtl detection [#7181](https://github.com/diaspora/diaspora/pull/7181)
* Reduce i18n.load side effects [#7184](https://github.com/diaspora/diaspora/pull/7184) * Reduce i18n.load side effects [#7184](https://github.com/diaspora/diaspora/pull/7184)
* Force jasmine fails on syntax errors [#7185](https://github.com/diaspora/diaspora/pull/7185)
## Bug fixes ## Bug fixes
* Fix fetching comments after fetching likes [#7167](https://github.com/diaspora/diaspora/pull/7167) * Fix fetching comments after fetching likes [#7167](https://github.com/diaspora/diaspora/pull/7167)
......
window.onerror = function(errorMsg, url, lineNumber) {
describe("Test suite", function() {
it("shouldn't skip tests because of syntax errors", function() {
fail(errorMsg + " in file " + url + " in line " + lineNumber);
});
});
};
...@@ -53,6 +53,7 @@ helpers: ...@@ -53,6 +53,7 @@ helpers:
# - **/*[sS]pec.js # - **/*[sS]pec.js
# #
spec_files: spec_files:
- onerror-fail.js
- "**/**/*[sS]pec.js" - "**/**/*[sS]pec.js"
# src_dir # src_dir
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter