Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Tests do not allow import statements #28

Open
staceyastewart opened this issue Apr 4, 2018 · 1 comment
Open

Tests do not allow import statements #28

staceyastewart opened this issue Apr 4, 2018 · 1 comment

Comments

@staceyastewart
Copy link

It would be helpful for us to be able to use import statements within the tests, the same way we can in app/js/index.js for example.

@mnutt
Copy link
Member

mnutt commented Apr 19, 2018

Background on this: right now tests are handled by karma, which invokes rollup to generate index.js and dist.js, but for tests it does not do any sort of bundling and instead just injects the test file, qunit.js, etc into its constructed tests page. I'm looking into maybe moving from karma to testem to hopefully get to use some of the ember stuff around building test files, too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants