mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +08:00
3862036422
I also took the opportunity with this commit to move some test specific stuff out of `discourse-loader` which is loaded on the front end of the application. The test module building now happens in the `test_helper` bundle.
28 lines
553 B
JavaScript
28 lines
553 B
JavaScript
// discourse-skip-module
|
|
|
|
define("sinon", () => {
|
|
return { default: window.sinon };
|
|
});
|
|
define("qunit", () => {
|
|
return {
|
|
default: window.QUnit,
|
|
test: window.QUnit.test,
|
|
skip: window.QUnit.skip,
|
|
module: window.QUnit.module,
|
|
};
|
|
});
|
|
define("ember-qunit", () => {
|
|
return {
|
|
moduleFor: window.moduleFor,
|
|
moduleForComponent: window.moduleForComponent,
|
|
};
|
|
});
|
|
define("@ember/test-helpers", () => {
|
|
return {
|
|
setResolver: window.setResolver,
|
|
};
|
|
});
|
|
define("pretender", () => {
|
|
return { default: window.Pretender };
|
|
});
|