Issue #374 - XCTest don't load Resources from the module's bundle
Tests referencing Bundle.module were failing. Fixed with proposed solution here: https://stackoverflow.com/questions/47177036/use-resources-in-unit-tests-with-swift-package-manager
This commit is contained in:
parent
23097ac8e0
commit
a1bc2937d4
|
@ -42,9 +42,9 @@ let package = Package(
|
|||
"proto/darkside.proto"
|
||||
],
|
||||
resources: [
|
||||
.copy("test_data.db"),
|
||||
.copy("cache.db"),
|
||||
.copy("ZcashSdk_Data.db"),
|
||||
.copy("Resources/test_data.db"),
|
||||
.copy("Resources/cache.db"),
|
||||
.copy("Resources/ZcashSdk_Data.db"),
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
|
|
Loading…
Reference in New Issue