Skip to content

Commit f93f434

Browse files
wip. test checking
1 parent e4fbc09 commit f93f434

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/devextreme-cli/testing/nextjs-server.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ module.exports = class NextJsServer {
3939
async stop() {
4040
console.log('-----NEXTJS SERVER-STOP---process.platform->', !!this.proc, process.platform);
4141
if(this.proc) {
42-
process.kill(-this.proc.pid);
43-
// this.proc.kill('SIGTERM');
44-
// await new Promise((resolve) => setTimeout(resolve, 1000));
45-
// this.proc.kill('SIGKILL');
46-
// await new Promise((resolve) => setTimeout(resolve, 1000));
42+
// process.kill(-this.proc.pid);
43+
this.proc.kill('SIGTERM');
44+
await new Promise((resolve) => setTimeout(resolve, 1000));
45+
this.proc.kill('SIGKILL');
46+
await new Promise((resolve) => setTimeout(resolve, 1000));
4747
}
4848

4949
if(process.platform === 'win32') {

0 commit comments

Comments
 (0)