Skip to content

Commit

Permalink
occurance count edit in test
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Jul 17, 2020
1 parent f1a41c6 commit 48b0d7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runners/application-files-watcher-error-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ async function testApplicationHBSErrorHandlingWorks(t, stdout, environment) {
t.true(getBuildingNotificationCount(stdout, 'application.js') === 7);
t.true(getBuiltNotificationCount(stdout, 'application.js', environment) === 3);
// t.true(stdoutOccurenceCount(stdout, /application\.js build error!/g) === 8);
console.log('occurance count', stdoutOccurenceCount(stdout, /Error: Unclosed element `h1`/g));
t.true(stdoutOccurenceCount(stdout, /Error: Unclosed element `h1`/g) === 1); // NOTE: this doesnt tell which file!!

t.true(firstContent === (await readApplicationJS()));
Expand Down

0 comments on commit 48b0d7d

Please sign in to comment.