@libp2p/interop 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -6
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interop",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Interoperability Tests for libp2p",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/interop#readme",
|
|
@@ -123,11 +123,6 @@
|
|
|
123
123
|
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js",
|
|
124
124
|
"build": "tsc",
|
|
125
125
|
"postbuild": "cp src/resources/keys/*.key dist/src/resources/keys",
|
|
126
|
-
"pretest": "npm run build",
|
|
127
|
-
"test": "aegir test -f \"./dist/test/**/*.spec.js\"",
|
|
128
|
-
"test:node": "npm run test -- -t node -f ./dist/test/node.js",
|
|
129
|
-
"test:chrome": "npm run test -- -t browser -f ./dist/test/browser.js ",
|
|
130
|
-
"test:firefox": "npm run test -- -t browser -- --browser firefox -f ./dist/test/browser.js",
|
|
131
126
|
"release": "semantic-release"
|
|
132
127
|
},
|
|
133
128
|
"dependencies": {
|
package/src/index.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface DaemonFactory {
|
|
|
24
24
|
spawn: (options: SpawnOptions) => Promise<Daemon>
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export
|
|
27
|
+
export async function interopTests (factory: DaemonFactory) {
|
|
28
28
|
await connectTests(factory)
|
|
29
29
|
await dhtTests(factory)
|
|
30
30
|
await pubsubTests(factory)
|