Releases: abiyasa/marko-jest
Releases · abiyasa/marko-jest
v6.0.0
- Support Marko 4.14.0
- Breaking: Does not support Marko < 4.12.0
v5.1.0
Minor release, add support to Jest 24
v5.0.0
Major release 🎊
Breaking changes:
- Remove test sandbox
- Simplify the API ✨ Simpler way to:
- initiate Marko component.
- render and cleanup component
- TypeScript definition
v4.1.0
New feature:
Support shallow rendering by using Marko taglibFinder.excludePackage()
. Add module name to Jest globals marko-jest
> taglibExcludePackages
. All components from that module/package will be shallow rendered
Checkout https://github.com/abiyasa/marko-jest#shallow-rendering for more info
v4.0.0
New features:
- Implement sandbox
getRenderedNodes()
to get all rendered nodes (including HTML and non-HTML element nodes). Marko component property el & els will be deprecated.
Breaking changes:
- Increase the minimum Marko version (min 4.9.x)
- Update Jest version
v3.0.0
Fix the issue with nested components. This is breaking changes since it breaks the old tests.
- All nested components are now rendered & instances are initiated properly.
- component.getComponents() and component.getComponent() works properly
v2.1.1
Minor bug fix:
- Remove child elements removal on sandbox reset. This could cause node issues on some component with nesting ones.
v2.0.0
Update to Jest 22
- No need to do JSDOM setup . Jest 22 comes with JSDOM.
- Test run up to 30% faster 🚀🚀