Skip to content

Commit

Permalink
refactor(linter/jest): fix indentation in code comment (#5372)
Browse files Browse the repository at this point in the history
previously, `test('...` was indented, making it look like it was inside a block statement/callback.

this PR corrects this by fixing the indentation
  • Loading branch information
camc314 committed Aug 31, 2024
1 parent 11b93af commit ed31d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/utils/jest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub fn collect_possible_jest_call_node<'a, 'b>(
// ```
// import { jest as Jest } from '@jest/globals';
// Jest.setTimeout(800);
// test('test', () => {
// test('test', () => {
// expect(1 + 2).toEqual(3);
// });
// ```
Expand Down

0 comments on commit ed31d67

Please sign in to comment.