integration fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-06-26 14:10:30 +03:00
1 parent 7b9dea4a1d
commit 8569e3b772
4 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = {
files: [
"build/*.ts",
"src/**/*.ts",
"spec/**/*.ts"
"integration/**/*.ts"
],
parser: "@typescript-eslint/parser",
extends: [
-4
View File
@@ -34,10 +34,6 @@ integration-win:
yarn build:win
yarn integration
lint:
yarn lint
yarn lint-dashboard
test-app:
yarn test
+1 -1
View File
@@ -13,7 +13,7 @@ case "darwin":
break
}
export function setup() {
export function setup(): Application {
return new Application({
// path to electron app
args: [],
+1
View File
@@ -36,6 +36,7 @@ describe("app start", () => {
beforeEach(async () => {
app = util.setup()
await app.start()
await app.client.waitUntilWindowLoaded()
const windowCount = await app.client.getWindowCount()
await app.client.windowByIndex(windowCount - 1)
await app.client.waitUntilWindowLoaded()