alright fine keep your timeouts

pull/8577/head
gtmnayan 3 years ago
parent ff17f12b30
commit 25aab43b57

@ -9,12 +9,13 @@ import { loadConfig, loadSvelte } from '../helpers';
const assert = fs.readFileSync(`${__dirname}/assert.js`, 'utf-8'); const assert = fs.readFileSync(`${__dirname}/assert.js`, 'utf-8');
describe('custom-elements', function () { describe('custom-elements', function () {
this.timeout(10000);
let svelte; let svelte;
/** @type {import('@playwright/test').Browser} */ /** @type {import('@playwright/test').Browser} */
let browser; let browser;
before(async function () { before(async function () {
this.timeout(10000);
svelte = loadSvelte(); svelte = loadSvelte();
console.log('[custom-element] Loaded Svelte'); console.log('[custom-element] Loaded Svelte');
browser = await chromium.launch(); browser = await chromium.launch();

@ -12,12 +12,13 @@ const index = path.resolve('index.mjs');
const assert = fs.readFileSync(`${__dirname}/assert.js`, 'utf-8'); const assert = fs.readFileSync(`${__dirname}/assert.js`, 'utf-8');
describe('runtime (playwright)', () => { describe('runtime (playwright)', function () {
this.timeout(10000);
let svelte; let svelte;
let browser; let browser;
before(async function () { before(async () => {
this.timeout(10000);
svelte = loadSvelte(false); svelte = loadSvelte(false);
console.log('[runtime-playwright] Loaded Svelte'); console.log('[runtime-playwright] Loaded Svelte');

Loading…
Cancel
Save