Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Joselito Nascimento | Stone committed Nov 5, 2018
1 parent d50bd01 commit b1c58c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/night.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ if (os.platform() === 'win32') {
exec(`${setupSelenium}`)
exec(`call start /MIN "h" ${httpSever}`, { async: true });

setTimeout( () => {
exec(`${nightwatchBin} ${testFile} && ${killNode}`)
setTimeout(() => {
exec(`${nightwatchBin} ${testFile} && ${killNode}`);
}, 1000);

} else {
const killNode = 'kill $(ps aux | grep \'node\' | awk \'{print $2}\')';
exec(`${setupSelenium} && ${httpSever} & ${nightwatchBin} ${testFile} && ${killNode}`);
}

0 comments on commit b1c58c1

Please sign in to comment.