Skip to content

Commit

Permalink
test: add test to cover missing branch
Browse files Browse the repository at this point in the history
  • Loading branch information
viestat committed Jul 6, 2020
1 parent 3738c2d commit f98accf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__tests__/no-interpolation-in-snapshots.test.ts
Expand Up @@ -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`);',
Expand Down

0 comments on commit f98accf

Please sign in to comment.