Update linter and fix code style

This commit is contained in:
Djuri 2024-09-03 11:37:34 +02:00
parent 5594355b4c
commit 7b6a8cf10b
7 changed files with 101 additions and 133 deletions

View file

@ -79,16 +79,16 @@ test.beforeEach(async ({ page }) => {
await page.route('*/**/api/show/screen/2', async (route) => {
statusJson.currentScreen = 2;
(statusJson.data = ['BTC/USD', '$', '3', '7', '8', '2', '4']),
(statusJson.rendered = statusJson.data);
statusJson.data = ['BTC/USD', '$', '3', '7', '8', '2', '4'];
statusJson.rendered = statusJson.data;
await route.fulfill({ json: statusJson });
});
await page.route('*/**/api/show/screen/4', async (route) => {
statusJson.currentScreen = 4;
(statusJson.data = ['BIT/COIN', 'HALV/ING', '0/YRS', '149/DAYS', '8/HRS', '30/MINS', 'TO/GO']),
(statusJson.rendered = statusJson.data);
statusJson.data = ['BIT/COIN', 'HALV/ING', '0/YRS', '149/DAYS', '8/HRS', '30/MINS', 'TO/GO'];
statusJson.rendered = statusJson.data;
await route.fulfill({ json: statusJson });
});