Skip to content
Permalink
Browse files

Revert "FIX: Resolver wasn't being set properly"

This reverts commit 661aebd.
  • Loading branch information
eviltrout committed Mar 25, 2020
1 parent a12c7fc commit 8316500a3919992858861b6edadd440cb61d2d39
Showing with 1 addition and 6 deletions.
  1. +1 −6 test/javascripts/test_helper.js
@@ -1,5 +1,3 @@
// discourse-skip-module

/*global document, sinon, QUnit, Logster */
//= require env
//= require jquery.debug
@@ -44,9 +42,6 @@
//
//= require jquery.magnific-popup.min.js

const buildResolver = require("discourse-common/resolver").buildResolver;
window.setResolver(buildResolver("discourse").create({ namespace: Discourse }));

sinon.config = {
injectIntoThis: false,
injectInto: null,
@@ -108,7 +103,7 @@ function resetSite(siteSettings, extras) {
QUnit.testStart(function(ctx) {
server = createPretender.default;
createPretender.applyDefaultHandlers(server);
server.handlers = [];
server.handlers = []

server.prepareBody = function(body) {
if (body && typeof body === "object") {

0 comments on commit 8316500

Please sign in to comment.
You can’t perform that action at this time.