Closed acknudson closed 6 years ago
Thanks @ajcolter for catching this and PR'ing it! Congrats on your first Guides PR 😁
Confirmed, I tried it on our 3.0 super-rentals app and running ember serve
and visiting /tests
prints that the ENV
is test. Merged.
This cautionary note seems to be out of date. In a testing environment in a 3.0 app, after running ember s, typing
require('app-name/config/environment').default
in the console returns an object withenvironment: "test"
.Also, in a 2.18 addon,
require('dummy/config/environment').default
returns an object withenvironment: "test"
.