mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-19 20:21:22 +00:00
chore: add browser example test (#846)
This commit is contained in:
@ -22,7 +22,6 @@ async function testExample (dir) {
|
||||
await installDeps(dir)
|
||||
await build(dir)
|
||||
await runTest(dir)
|
||||
// TODO: add browser test setup
|
||||
}
|
||||
|
||||
async function installDeps (dir) {
|
||||
@ -89,7 +88,7 @@ async function runTest (dir) {
|
||||
return
|
||||
}
|
||||
|
||||
const runTest = require(testFile)
|
||||
const test = require(testFile)
|
||||
|
||||
await runTest()
|
||||
}
|
||||
await test()
|
||||
}
|
||||
|
Reference in New Issue
Block a user