mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-28 17:44:33 +03:00
chore: repair run_static_server.js (#6298)
This commit is contained in:
parent
a1f9152f27
commit
f63f92be5e
@ -16,12 +16,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const {TestServer} = require('../utils/testserver/');
|
const {TestServer} = require('.');
|
||||||
|
|
||||||
const port = 8907;
|
const port = 8907;
|
||||||
const httpsPort = 8908;
|
const httpsPort = 8908;
|
||||||
const assetsPath = path.join(__dirname, 'assets');
|
const assetsPath = path.join(__dirname, '../../tests/assets');
|
||||||
const cachedPath = path.join(__dirname, 'assets', 'cached');
|
const cachedPath = path.join(__dirname, '../../tests/assets/cached');
|
||||||
|
|
||||||
Promise.all([
|
Promise.all([
|
||||||
TestServer.create(assetsPath, port),
|
TestServer.create(assetsPath, port),
|
Loading…
Reference in New Issue
Block a user