chore: add browser example test (#846)

This commit is contained in:
Vasco Santos
2021-01-19 09:57:56 +01:00
committed by GitHub
parent 9014ea657a
commit 0b854a949f
5 changed files with 67 additions and 5 deletions

View File

@ -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()
}