chore: repair run_static_server.js (#6298)

This commit is contained in:
Yury Semikhatsky 2021-04-23 18:42:54 +00:00 committed by GitHub
parent a1f9152f27
commit f63f92be5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),