Add some 'load scenario' todo tests
This commit is contained in:
@@ -259,7 +259,8 @@ if (process.env.NODE_ENV === 'test') {
|
||||
res.end("Not found");
|
||||
}
|
||||
}).listen(3005, () => {
|
||||
console.log('test server is online');
|
||||
const serverUrl = 'http://localhost:3005';
|
||||
console.log(`Test server running at ${serverUrl}`);
|
||||
});
|
||||
} else {
|
||||
buildOptions.define = { 'window.IS_DEV': 'true' };
|
||||
@@ -321,7 +322,8 @@ if (process.env.NODE_ENV === 'test') {
|
||||
req.pipe(proxyReq, { end: true });
|
||||
}
|
||||
}).listen(8080, (e) => {
|
||||
console.log('server is online', e);
|
||||
const serverUrl = 'http://localhost:8080';
|
||||
console.log(`Development server running at ${serverUrl}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user