I am using Angular 8 in my project. Is it possible to have a separate package.json
file for e2e tests? I am using jest
for unit testing and protractor+jasmine
for e2e. Because of this, I can't completely remove jasmine
from my package.json
. And, therefore, I often have problems with typings
What I want to get:
when i am in the
.spec
file that is inside main projectexpect(someFuncCall()).toMatchSnapshot()
should works correct andjasmine
should not workwhen i am in the
.spec
file that is inside e2e foldertoMatchSnapshot()
should give an error andjest
should not work
Of course, all IDE intellisense for tests should differ depends on project type: e2e/main