From 13bf0d56d0ece6bbed77587cc5bd0de22897274c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matu=CC=81s=CC=8C=20Tomlein?= Date: Tue, 10 Oct 2023 16:54:24 +0200 Subject: [PATCH] Don't define DatabaseHelpers in tests for watchOS and tvOS --- Tests/Utils/DatabaseHelpers.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/Utils/DatabaseHelpers.swift b/Tests/Utils/DatabaseHelpers.swift index af1c4b7be..3a106e5cd 100644 --- a/Tests/Utils/DatabaseHelpers.swift +++ b/Tests/Utils/DatabaseHelpers.swift @@ -11,6 +11,8 @@ // express or implied. See the Apache License Version 2.0 for the specific // language governing permissions and limitations there under. +#if os(iOS) || os(macOS) + import Foundation @testable import SnowplowTracker @@ -22,3 +24,5 @@ class DatabaseHelpers { } } } + +#endif