bgantzler / ember-mirage

Aids in setting up mirage for ember testing
MIT License
4 stars 5 forks source link

Move files that import test dependencies out of modules that may be imported by an app in development #23

Closed NullVoxPopuli closed 1 year ago

NullVoxPopuli commented 1 year ago

the main module we had index.js was importing ./setup-mirage, which imported @ember/test-helpers, which isn't available outside of tests.

For the use case where folks use mirage as a dev-time backend mock, we need to allow starting mirage outside of a test environment