Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Aug 17, 2022
1 parent 5eb12b4 commit b520160
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ async function test(suite, tests, options = {}) {
} catch (error) {

}

const args = [
'testem',
!options.dev ? 'ci' : '',
Expand All @@ -267,7 +268,7 @@ async function test(suite, tests, options = {}) {
'-l', options.context.map(_.upperFirst).join(',')
];

const proc = cp.spawn(args.join(' '), {
cp.spawn(args.join(' '), {
cwd: wd,
env: {
...process.env,
Expand All @@ -281,9 +282,7 @@ async function test(suite, tests, options = {}) {
shell: true,
stdio: 'inherit',
detached: options.dev
})
// proc.stdout.pipe(process.stdout);
// proc.stderr.pipe(process.stderr);
});

// open localhost
const url = `http://localhost:${port}/`;
Expand Down

0 comments on commit b520160

Please sign in to comment.