Skip to content

Commit 9674837

Browse files
wip. checking test for nextjs-ts
1 parent 330150f commit 9674837

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/devextreme-cli/src/utility/run-command.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = function(commandName, args = [], customConfig = {}) {
2525

2626
promise.kill = (signal = 'SIGTERM') => {
2727
return new Promise((resolve, reject) => {
28+
console.log('-----proc.kill----->');
2829
proc.kill(signal);
2930
resolve();
3031
});

packages/devextreme-cli/testing/app-template.test.shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = (env, { port } = { port: '8080' }) => {
4949
await devServer.build();
5050
console.log('-----build----->');
5151
await devServer.start();
52-
console.log('-----start----->');
52+
5353
} catch(e) {
5454
// NOTE jest@27 will fail test, but jest@26 - not
5555
console.log('----throw new Error------>', e);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = class DevServer {
1717
if(startedPromise) {
1818
await startedPromise.kill();
1919
}
20+
console.log('-----start----->');
2021
startedPromise = runCommand('npm', ['run', 'start'], {
2122
cwd: this.env.appPath,
2223
// https://github.com/facebook/create-react-app/issues/3657

0 commit comments

Comments
 (0)