mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Only unregister service workers that belongs to Discourse.
This commit is contained in:
@@ -115,7 +115,7 @@ QUnit.testStart(function(ctx) {
|
||||
// Allow our tests to change site settings and have them reset before the next test
|
||||
Discourse.SiteSettings = dup(Discourse.SiteSettingsOriginal);
|
||||
Discourse.BaseUri = "";
|
||||
Discourse.BaseUrl = "localhost";
|
||||
Discourse.BaseUrl = "http://localhost:3000";
|
||||
Discourse.Session.resetCurrent();
|
||||
Discourse.User.resetCurrent();
|
||||
resetSite(Discourse.SiteSettings);
|
||||
|
||||
Reference in New Issue
Block a user