mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 11:06:02 +00:00
try to fix cypress test
This commit is contained in:
@@ -18,7 +18,11 @@ module.exports = defineConfig({
|
|||||||
// console.log('********************* DETAILS *********************', JSON.stringify(details));
|
// console.log('********************* DETAILS *********************', JSON.stringify(details));
|
||||||
|
|
||||||
if (config.isInteractive) {
|
if (config.isInteractive) {
|
||||||
await killPort(3000);
|
try {
|
||||||
|
await killPort(3000);
|
||||||
|
} catch (e) {
|
||||||
|
console.warn('Error killing process on port 3000:', e.message);
|
||||||
|
}
|
||||||
switch (details.fileName) {
|
switch (details.fileName) {
|
||||||
case 'add-connection':
|
case 'add-connection':
|
||||||
serverProcess = exec('yarn start:add-connection');
|
serverProcess = exec('yarn start:add-connection');
|
||||||
|
|||||||
Reference in New Issue
Block a user