REFACTOR: Use imports for sinon and setResolver

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.
This commit is contained in:
Robin Ward
2020-10-09 12:00:46 -04:00
parent 4326827a4e
commit 3862036422
9 changed files with 40 additions and 21 deletions

View File

@ -1,5 +1,6 @@
import I18n from "I18n";
import LocalDateBuilder from "./local-date-builder";
import sinon from "sinon";
const UTC = "Etc/UTC";
const SYDNEY = "Australia/Sydney";