From ac8eb25ac0b1d518beebe810e6430e375032028c Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Wed, 12 Jun 2024 10:50:34 -0700
Subject: Add some 'load scenario' todo tests
---
esbuild-server.mjs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'esbuild-server.mjs')
diff --git a/esbuild-server.mjs b/esbuild-server.mjs
index bf73692..c269a52 100644
--- a/esbuild-server.mjs
+++ b/esbuild-server.mjs
@@ -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}`);
});
}
--
cgit v1.2.3