A reproduction of a bug.this.authenticatedRoute
from torii
works in Ember 3.5 and fails in Ember > 3.6
Run tests or open the app and go to /authenticated
(you should be redirected to /login
but on 3.6 and higher that does not happen).
ember try:each
will run 3.5, 3.6 and 3.7. I also ran the 3.6 betas (they are commented out in the config) -- it fails all the way back to the first beta of 3.6.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd torii-test
yarn install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.