feat: add desktop repo (#1071)

This commit is contained in:
Mo
2022-06-07 11:52:15 -05:00
committed by GitHub
parent 0bb12db948
commit 0b7ce82aaa
135 changed files with 17821 additions and 180 deletions

View File

@@ -0,0 +1,16 @@
import anyTest, { TestFn } from 'ava'
import { createDriver, Driver } from './driver'
const test = anyTest as TestFn<Driver>
test.before(async (t) => {
t.context = await createDriver()
})
test.after.always((t) => {
return t.context.stop()
})
test('Only has one window', async (t) => {
t.is(await t.context.windowCount(), 1)
})