#442 Update Store's state setter to be internal, to allow state to be mutated directly from unit tests

Closed John McIntosh john-mcintosh-dosh

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -17,7 +17,7 @@
Loading
17 17
18 18
    typealias SubscriptionType = SubscriptionBox<State>
19 19
20 -
    private(set) public var state: State! {
20 +
    internal(set) public var state: State! {
21 21
        didSet {
22 22
            subscriptions.forEach {
23 23
                if $0.subscriber == nil {

Learn more Showing 3 files with coverage changes found.

Changes in ReSwift/CoreTypes/Subscription.swift
-4
Loading file...
Changes in ReSwift/CoreTypes/Store.swift
-12
Loading file...
Changes in ReSwift/Utils/TypeHelper.swift
-2
Loading file...
Files Coverage
ReSwift -0.05% 99.43%
Project Totals (6 files) 99.43%
Loading