Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.81 KB

CHANGELOG.md

File metadata and controls

54 lines (36 loc) · 1.81 KB

@fleur/testing Changelog

4.2.0

  • #484 Support context.finally

4.1.1

  • Fix type error to @fleur/fleur

4.1.0

  • 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 and mockContext.executeOperation can called from any mockContext.
  • Refactor: Backward compat: .dispatches and .executes moved into mockContext.mock
  • Deprecated: mockOperationContext.dispatches is deprecated.
  • Deprecated: mockComponentContext.executes is deprecated.

4.0.0

  • #317 Update dependency immer
    • BREAKING: Store state freeze by default, even in production mode
    • BREAKING: Support Map and Set in Store state. immer's enableMapSet is enabled by default.

3.0.0

  • #182 Implement dependency injection
  • #184 Rename operationContext.{dispatchs => dispatches} (Fix typo)
  • #185 Optionalize second argument of mockStore()

2.0.0

Breaking changes

  • #104 mockOperationContext() is now privated. Use mockFleurContext().mockOperationContext() instead.

1.1.2

  • Add homepage in package.json
  • Change package name @fleur/test-utils to @fleur/testing

1.1.0

  • #83 Add MockOperationContext#derive API