From ed31d67b513b050bcea2dc50bf948906d423c885 Mon Sep 17 00:00:00 2001 From: camc314 <18101008+camc314@users.noreply.github.com> Date: Sat, 31 Aug 2024 18:56:25 +0000 Subject: [PATCH] refactor(linter/jest): fix indentation in code comment (#5372) previously, `test('...` was indented, making it look like it was inside a block statement/callback. this PR corrects this by fixing the indentation --- crates/oxc_linter/src/utils/jest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/utils/jest.rs b/crates/oxc_linter/src/utils/jest.rs index d6fe78cfa..987b7f857 100644 --- a/crates/oxc_linter/src/utils/jest.rs +++ b/crates/oxc_linter/src/utils/jest.rs @@ -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); // }); // ```