DEV: prevents asyncTestDiscourse/controllerFor/fixture to leak (#7717)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
import ClickTrack from "discourse/lib/click-track";
|
||||
import { logIn } from "helpers/qunit-helpers";
|
||||
import { fixture, logIn } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("lib:click-track-edit-history", {
|
||||
beforeEach() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
import ClickTrack from "discourse/lib/click-track";
|
||||
import { logIn } from "helpers/qunit-helpers";
|
||||
import { fixture, logIn } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("lib:click-track-profile-page", {
|
||||
beforeEach() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
import ClickTrack from "discourse/lib/click-track";
|
||||
import { logIn } from "helpers/qunit-helpers";
|
||||
import { fixture, asyncTestDiscourse, logIn } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("lib:click-track", {
|
||||
beforeEach() {
|
||||
|
||||
@@ -2,6 +2,7 @@ import {
|
||||
default as highlightText,
|
||||
CLASS_NAME
|
||||
} from "discourse/lib/highlight-text";
|
||||
import { fixture } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("lib:highlight-text");
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import PreloadStore from "preload-store";
|
||||
import { asyncTestDiscourse } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("preload-store", {
|
||||
beforeEach() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { registerTooltip, registerHoverTooltip } from "discourse/lib/tooltip";
|
||||
import { fixture } from "helpers/qunit-helpers";
|
||||
|
||||
// prettier-ignore
|
||||
QUnit.module("lib:tooltip", {
|
||||
|
||||
@@ -4,6 +4,7 @@ import {
|
||||
resetCache
|
||||
} from "pretty-text/upload-short-url";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { fixture } from "helpers/qunit-helpers";
|
||||
|
||||
QUnit.module("lib:pretty-text/upload-short-url", {
|
||||
beforeEach() {
|
||||
|
||||
Reference in New Issue
Block a user