• Stan Hu's avatar
    Revise ee/spec/javascripts/epic/store/actions_spec.js spec · 4fd56ebf
    Stan Hu authored
    1. Move expectation into the callback we give to `testAction`
    2. Uses `jasmine.objectContaining` instead of an off-the-fly custom
    matcher.
    3. Replaces `stateSubscribed` with simply mutating the shared `state`
    object we're creating for each test (it was a little weird to see
    `stateSubscribed.subscribes`)
    4fd56ebf
actions_spec.js 25.7 KB