How to create/install ember-cli custom test helpers with Ember 3?

123 Views Asked by At

Before v3.0, it used to be that to make a custom test helper available to testing code, you'd import it into tests/helpers/start-app.js. Now that the testing reorg with 3.0 has removed that file, where should those imports go?

FWIW the ember-cli docs still show the old, non-existent file: https://ember-cli.com/testing#single-helper-per-file (filed a GH issue here)

1

There are 1 best solutions below

0
Lux On

The source for this change is this RFC. Basically you can (and should) just import your custom helpers.