Skip to content

Instantly share code, notes, and snippets.

@FagnerMartinsBrack
Last active July 28, 2018 02:16
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/7865d5d9b159b71ddee1424e7a6b53d2 to your computer and use it in GitHub Desktop.
Save FagnerMartinsBrack/7865d5d9b159b71ddee1424e7a6b53d2 to your computer and use it in GitHub Desktop.
(Medium) - One Test For Each Model
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