Skip to content

Commit

Permalink
test: set correct ecmaVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Apr 28, 2022
1 parent 5819ac4 commit ab0393f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/__tests__/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ describe('reference checking', () => {
it('is not a jest function', () => {});
`,
parserOptions: { sourceType: 'module' },
parserOptions: { sourceType: 'module', ecmaVersion: 2022 },
},
],
invalid: [
Expand Down

0 comments on commit ab0393f

Please sign in to comment.