torii-test
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.
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
Installation
git clone <repository-url>
this repositorycd torii-test
yarn install
Running / Development
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try ember help generate
for more details
Running Tests
ember test
ember test --server
Linting
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
Building
ember build
(development)ember build --environment production
(production)
Deploying
Specify what it takes to deploy your app.