Skip to content

Instantly share code, notes, and snippets.

@FagnerMartinsBrack
Created December 17, 2018 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FagnerMartinsBrack/fc7721773c4336c1cc7bbb40599c0da1 to your computer and use it in GitHub Desktop.
Save FagnerMartinsBrack/fc7721773c4336c1cc7bbb40599c0da1 to your computer and use it in GitHub Desktop.
(Medium) - The Myth Of 100% Code Coverage
const prefill = Prefill(StubbedProvider())(MappingLogic(forSimpleMatching));
const prefilledFormFields = prefill(FormFields());
expect(prefilledFormFields.toString()).toEqual('name: Anna');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment