mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix tests when run via http://localhost:4200/tests
no issue - browserify test dependencies need to be included with dev builds too
This commit is contained in:
parent
b9991c117b
commit
468fb7b354
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ module.exports = function (environment) {
|
|||
ENV.APP.LOG_TRANSITIONS = true;
|
||||
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
||||
ENV.APP.LOG_VIEW_LOOKUPS = true;
|
||||
|
||||
// This is needed so that browserify dependencies in tests work correctly
|
||||
// See https://github.com/ef4/ember-browserify/issues/14
|
||||
ENV.browserify = {
|
||||
tests: true
|
||||
};
|
||||
|
||||
// Enable mirage here in order to mock API endpoints during development
|
||||
ENV['ember-cli-mirage'] = {
|
||||
enabled: false
|
||||
|
|
Loading…
Add table
Reference in a new issue