We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec9925 commit d84c001Copy full SHA for d84c001
1 file changed
files/tests/test-helper.__ext__
@@ -4,6 +4,7 @@ import * as QUnit from 'qunit';
4
import { setApplication } from '@ember/test-helpers';
5
import { setup } from 'qunit-dom';
6
import { start as qunitStart, setupEmberOnerrorValidation } from 'ember-qunit';
7
+import { getGlobalConfig } from '@embroider/macros/src/addon/runtime';
8
9
class Router extends EmberRouter {
10
location = 'none';
@@ -21,6 +22,8 @@ class TestApp extends EmberApp {
21
22
Router.map(function () {});
23
24
export function start() {
25
+ const config = getGlobalConfig()['@embroider/macros'];
26
+ if (config) config.isTesting = true;
27
setApplication(
28
TestApp.create({
29
autoboot: false,
0 commit comments