Skip to content

Commit

Permalink
feat(jest): 100% coverage for mock/tests/friends.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
drepram committed Feb 21, 2022
1 parent 6aeea21 commit f1d825f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mock/tests/__snapshots__/friends.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`init gets the constant 1`] = `undefined`;
7 changes: 7 additions & 0 deletions mock/tests/friends.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import Friends from '../friends'

describe('init', () => {
it('gets the constant', () => {
expect(Friends).toMatchSnapshot()
})
})

0 comments on commit f1d825f

Please sign in to comment.