Add check for WASI to test

This commit is contained in:
Carson Katri 2022-06-30 08:44:22 -04:00
parent aa5ed1e560
commit 59c4cf9b53
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ final class VisitorTests: XCTestCase {
)
XCTAssertEqual(stateObjectButton.label, Text("0"))
stateObjectButton.action?()
#if !canImport(Dispatch)
#if !canImport(Dispatch) || os(WASI)
stateObjectButton.action?()
#endif
reconciler.turnRunLoop()