Revert "Add a few missing folders to be linted."

This reverts commit c7b24c2922.
This commit is contained in:
Alex Andreev committed 2020-11-20 07:51:42 +03:00
1 parent 2cd5e129f1
commit 20cc91bf30
29 files changed
+397 -399

No files matched your search

+6 -6
View File
@@ -4,7 +4,7 @@ const AppPaths: Partial<Record<NodeJS.Platform, string>> = {
"win32": "./dist/win-unpacked/Lens.exe",
"linux": "./dist/linux-unpacked/kontena-lens",
"darwin": "./dist/mac/Lens.app/Contents/MacOS/Lens",
};
}
export function setup(): Application {
return new Application({
@@ -16,16 +16,16 @@ export function setup(): Application {
env: {
CICD: "true"
}
});
})
}
export async function tearDown(app: Application) {
const mpid: any = app.mainProcess.pid;
const pid = await mpid();
await app.stop();
let mpid: any = app.mainProcess.pid
let pid = await mpid()
await app.stop()
try {
process.kill(pid, "SIGKILL");
} catch (e) {
console.error(e);
console.error(e)
}
}