Jest preset #160
Comments
Have to release this before |
If you're working on a Vue project, test-vue-app will do the job for you, and the fact is that it works with other frameworks (most, like React, just add a |
@egoist If/when this preset exists and I am using vue, would you recommend sticking with |
@skiano
Maybe we can make |
@egoist that sounds great! I will just use that. I love the idea of keeping the testing separate. If you want that to be like poi for testing , do you think it should be migrated to a different name? perhaps |
@skiano that's for sure 😂 |
@egoist thanks for the heads up! |
@egoist would adding a babelrc file with the babel-preset-poi make jest work out of the box with poi? |
just to note that I recently tested adding the babel-preset and followed jest's babel 7 setup notes and it worked .babelrc
add jest
|
Yeah the official Jest doc has documented this: https://facebook.github.io/jest/docs/en/getting-started.html#using-babel |
This issue has been marked as Stale, it will be closed in a week if there's no furthur activity. |
Basically this preset allows us to run jest with
poi test --presets jest
.Anyone interested in this could look into the preset API, this preset might look like:
The text was updated successfully, but these errors were encountered: