Skip to content

Commit

Permalink
Fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Dec 8, 2022
1 parent 3cfca94 commit c60c1d5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/plugins/trackCodeFlow/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ describe('trackCodeFlow', () => {
}
});
const actual = fmtDiagnostics(diagnostics);
const expected = [];
const expected = [
'04:1136:enum must be declared at the root level or within a namespace'
];
expect(actual).deep.equal(expected);
});
it('inside a namespace', async () => {
Expand Down Expand Up @@ -195,9 +197,7 @@ describe('trackCodeFlow', () => {
});
const actual = fmtDiagnostics(diagnostics);
const expected = [
`05:1001:Cannot find name 'a'`,
`05:LINT1003:Not all the code paths assign 'a'`,
`15:1001:Cannot find name 'b'`,
`15:LINT1003:Not all the code paths assign 'b'`
];
expect(actual).deep.equal(expected);
Expand Down

0 comments on commit c60c1d5

Please sign in to comment.