From be996b9e9ae2314efc9c44f2dbe5aa8fd8564eed Mon Sep 17 00:00:00 2001 From: Lukas Grossmann Date: Tue, 21 Nov 2023 16:08:07 +0100 Subject: [PATCH] Reverting changes in eslint Signed-off-by: Lukas Grossmann --- .eslintrc | 2 +- test/ui/suite/createComponent.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 9a81c4bac..990a01e25 100644 --- a/.eslintrc +++ b/.eslintrc @@ -78,7 +78,7 @@ "max-classes-per-file": [0], "no-alert": 2, "no-caller": 2, - //"no-console": 2, + "no-console": 2, "no-constant-condition": 2, "no-debugger": 2, "no-else-return": ["error"], diff --git a/test/ui/suite/createComponent.ts b/test/ui/suite/createComponent.ts index caf04b62c..2985f96d4 100644 --- a/test/ui/suite/createComponent.ts +++ b/test/ui/suite/createComponent.ts @@ -152,12 +152,12 @@ export function testCreateComponent(path: string) { await section.expand(); const refresh = await section.getAction('Refresh Components View'); await refresh.click(); - await new Promise((res => {setTimeout(res, 3_000)})); + await new Promise((res => {setTimeout(res, 1_000)})); } async function clickCreateComponent() { await button.click(); - await new Promise((res) => { setTimeout(res, 5_000); }); + await new Promise((res) => { setTimeout(res, 3_000); }); } async function loadCreateComponentButton() {