mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Disable logster error reporting during tests
This commit is contained in:
parent
cbe3a72c1f
commit
f80502ea0e
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ Discourse.runInitializers();
|
|||
Discourse.start();
|
||||
Discourse.Route.mapRoutes();
|
||||
|
||||
// disable logster error reporting
|
||||
if (window.Logster) {
|
||||
Logster.enabled = false;
|
||||
} else {
|
||||
window.Logster = { enabled: false };
|
||||
}
|
||||
|
||||
QUnit.testStart(function() {
|
||||
// Allow our tests to change site settings and have them reset before the next test
|
||||
Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal);
|
||||
|
|
Loading…
Reference in a new issue