You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure, if this is an issue with ember-cli-fastboot-testing addon but just wanted to report my observation. In my app code, in FastBoot only scenario, I am accessing the dist path using public getter FastBoot.distPath to get access to a Static JSON content.
The application works with issues upon running ember s and tests are passing upon using ember test --serve. But when I run just ember test then FastBoot.distPath usage failed as the path defined there is deleted.
Upon investigation, I noticed that ember test invokes the postBuild hook with broccoli temp path and deletes that path after a successful build. As a result use of FastBoot.distPath fails.
I have workaround by running ember build first and using the --path argument with ember test. But still wanted to check if there is any recommendation here for this use-case
The text was updated successfully, but these errors were encountered:
Not sure, if this is an issue with ember-cli-fastboot-testing addon but just wanted to report my observation. In my app code, in FastBoot only scenario, I am accessing the dist path using public getter
FastBoot.distPath
to get access to a Static JSON content.The application works with issues upon running
ember s
and tests are passing upon usingember test --serve
. But when I run justember test
thenFastBoot.distPath
usage failed as the path defined there is deleted.Upon investigation, I noticed that
ember test
invokes thepostBuild
hook with broccoli temp path and deletes that path after a successful build. As a result use ofFastBoot.distPath
fails.I have workaround by running
ember build
first and using the--path
argument withember test
. But still wanted to check if there is any recommendation here for this use-caseThe text was updated successfully, but these errors were encountered: