Skip to content

Commit e56a138

Browse files
committed
test: update e2e tests
1 parent ca4a510 commit e56a138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/e2e_workflow.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('Basic end-to-end Workflow', function () {
6868
var envContent = fs.readFileSync(envPath, { encoding: 'utf8' });
6969
expect(envContent).to.include('production:true');
7070
// Also does not create new things in GIT.
71-
expect(sh.exec('git status --porcelain').output).to.be.equal('');
71+
expect(sh.exec('git status --porcelain').output).to.be.equal(undefined);
7272
});
7373

7474
it('Can run `ng build` in created project', function () {
@@ -80,7 +80,7 @@ describe('Basic end-to-end Workflow', function () {
8080
})
8181
.then(function () {
8282
// Also does not create new things in GIT.
83-
expect(sh.exec('git status --porcelain').output).to.be.equal('');
83+
expect(sh.exec('git status --porcelain').output).to.be.equal(undefined);
8484
})
8585
.catch(() => {
8686
throw new Error('Build failed.');

0 commit comments

Comments
 (0)