mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #2599 from riking/disable-logster
Disable logster error reporting during tests
This commit is contained in:
commit
b00b5609e6
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