From f98accfeeace272510b16309bbb6d404110a874b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20C=2E=20Viesca=20Ruiz?= Date: Mon, 6 Jul 2020 11:09:01 +0200 Subject: [PATCH] test: add test to cover missing branch --- src/rules/__tests__/no-interpolation-in-snapshots.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rules/__tests__/no-interpolation-in-snapshots.test.ts b/src/rules/__tests__/no-interpolation-in-snapshots.test.ts index 2a729b676..b7bbb61fb 100644 --- a/src/rules/__tests__/no-interpolation-in-snapshots.test.ts +++ b/src/rules/__tests__/no-interpolation-in-snapshots.test.ts @@ -11,6 +11,7 @@ const ruleTester = new TSESLint.RuleTester({ ruleTester.run('no-interpolation-in-snapshots', rule, { valid: [ + 'expect("something").toEqual("else");', 'expect(something).toMatchInlineSnapshot();', 'expect(something).toMatchInlineSnapshot(`No interpolation`);', 'expect(something).toMatchInlineSnapshot({}, `No interpolation`);',