Skip to content

Commit

Permalink
add type csting to testRunner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Mar 6, 2024
1 parent 15ef08d commit 5bfb9f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e/testRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
/* eslint-disable @lwc/lwc/no-async-await,no-restricted-syntax,no-await-in-loop */
import {execSync} from 'child_process';
import fs from 'fs';
import type {TestConfig} from '@libs/E2E/types';
import compare from './compare/compare';
import defaultConfig from './config';
import createServerInstance from './server';
Expand Down Expand Up @@ -165,7 +166,7 @@ const runTests = async (): Promise<void> => {
Logger.info(`Cooling down for ${config.BOOT_COOL_DOWN / 1000}s`);
await sleep(config.BOOT_COOL_DOWN);

server.setTestConfig(test);
server.setTestConfig(test as TestConfig);

const warmupText = `Warmup for test '${test.name}' [${testIndex + 1}/${tests.length}]`;

Expand Down

0 comments on commit 5bfb9f8

Please sign in to comment.