- #484 Support
context.finally
- Fix type error to
@fleur/fleur
- Update
@fleur/fleur
peerDependency to^3.x.x || ^2.0.0
- Feature: Accept
Fleur
instance in mockFleurContext()const App = new Fleur({ stores: [SomeStore] }) // Now got const mockContext = mockFleurContext(App)
- Feature:
mockContext.dispatch
andmockContext.executeOperation
can called from any mockContext. - Refactor: Backward compat:
.dispatches
and.executes
moved intomockContext.mock
- Deprecated:
mockOperationContext.dispatches
is deprecated. - Deprecated:
mockComponentContext.executes
is deprecated.
- #317 Update dependency
immer
- BREAKING: Store state freeze by default, even in production mode
- BREAKING: Support
Map
andSet
in Store state. immer'senableMapSet
is enabled by default.
- #182 Implement dependency injection
- #184 Rename
operationContext.{dispatchs => dispatches}
(Fix typo) - #185 Optionalize second argument of
mockStore()
- #104
mockOperationContext()
is now privated. UsemockFleurContext().mockOperationContext()
instead.
- Add
homepage
in package.json - Change package name
@fleur/test-utils
to@fleur/testing
- #83 Add MockOperationContext#derive API