Skip to content

Commit

Permalink
added conditional import
Browse files Browse the repository at this point in the history
  • Loading branch information
KazaiMazai committed Sep 11, 2024
1 parent d1771a9 commit 4fce012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/PureduxTests/TestUtils/TestRootAppStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Created by Sergey Kazakov on 01/09/2024.
//

#if canImport(PureduxMacros)
import XCTest
@testable import Puredux
import SwiftUI
Expand All @@ -14,3 +14,4 @@ import PureduxMacros
extension Injected {
@InjectEntry var rootStore = StateStore<Int, Int>(0) { state, action in state += action }
}
#endif

0 comments on commit 4fce012

Please sign in to comment.