Skip to content

Commit dfb5add

Browse files
committed
chore(e2e): simplify exec command (#446)
1 parent e9936d3 commit dfb5add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Basic end-to-end Workflow', function () {
6262

6363
// Can't user the `ng` helper because somewhere the environment gets
6464
// stuck to the first build done
65-
sh.exec(`node_modules${path.sep}.bin${path.sep}ng build --environment=production --silent`);
65+
sh.exec('ng build --environment=production --silent');
6666
expect(existsSync(path.join(process.cwd(), 'dist'))).to.be.equal(true);
6767
var envPath = path.join(process.cwd(), 'dist', 'app', 'environment.js');
6868
var envContent = fs.readFileSync(envPath, { encoding: 'utf8' });

0 commit comments

Comments
 (0)