@raiment/sea-jest
v0.1.14
Published
  [
- [ ] Store snapshots next to test files
- [ ] v0.2 Testing
- [ ] Add a
--helpflag thatsea-jestcatches - [ ] Add a
--versionflag thatsea-jestcatches - [ ] Add basic colors to match sea conventions
- [ ] Add a
🎄 Backlog
- [ ] Automate explicit addition of global names
- [ ] Incorporate easier React testing
User documentation
sea-jest is a wrapper on Jest that applies the following configuration:
- ES6 by default:
esbuild-jestis used as a transform by default - Snapshots stored side-by-side with test files: this is an opinionated preference over the separate
__snapshots__folder.
sea-jest is a wrapper that invokes jest internally so all flags are passed directly from sea-jest to jest.
Design
⚠️ TODO
FAQ
Why not just use jest directly instead of sea-jest?
For many users, using Jest directly is the right choice!
sea-jest was created as minimal wrapper to avoid the duplicate boilerplate common to all Raiment Studios projects. If you like the "sea" conventions in general, then using sea-jest is presumably convenience, otherwise it's likely not for a value add for you!
