Skip to content

Commit f765c17

Browse files
committed
Added mplex and noise packages as test dependencies for integration tests.
1 parent fca1585 commit f765c17

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Package.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ let package = Package(
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
1919
// .package(url: /* package url */, from: "1.0.0"),
20-
.package(url: "https://github.com/swift-libp2p/swift-libp2p.git", .upToNextMajor(from: "0.1.0"))
20+
.package(url: "https://github.com/swift-libp2p/swift-libp2p.git", .upToNextMajor(from: "0.1.0")),
21+
.package(url: "https://github.com/swift-libp2p/swift-libp2p-mplex.git", .upToNextMajor(from: "0.1.0")),
22+
.package(url: "https://github.com/swift-libp2p/swift-libp2p-noise.git", .upToNextMajor(from: "0.1.0"))
2123
],
2224
targets: [
2325
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -32,6 +34,10 @@ let package = Package(
3234
]),
3335
.testTarget(
3436
name: "LibP2PIdentifyTests",
35-
dependencies: ["LibP2PIdentify"]),
37+
dependencies: [
38+
"LibP2PIdentify",
39+
.product(name: "LibP2PNoise", package: "swift-libp2p-noise"),
40+
.product(name: "LibP2PMPLEX", package: "swift-libp2p-mplex")
41+
]),
3642
]
3743
)

0 commit comments

Comments
 (0)