Closed 98lenvi closed 4 years ago
This is a great start. I was thinking more about an integrations test approach, where we mock the activity of a user to make sure changes don't necessarily alter that functionality. So, for instance, if the ContractEditor
has a clause template in it:
Adding this to #123 also.
@irmerk Okie! I will do it, but it'll take some time because I'm new to writing tests :disappointed:.
Not a problem, this isn't a high priority.
Just rebase with master and I'll merge this in, and you can work off #123 still if you're inclined to do so.
@irmerk, I have first pulled the changes from the upstream, merged with my branch, then performed the rebase. Please tell me whether have I followed the correct steps
That's fine for now. In the future when working on a branch within a fork, I'd go with:
git checkout master
git fetch --all --prune
git rebase upstream/master
git push origin master
git checkout 98lenvi-issue123-action-tests
git rebase master
git push origin 98lenvi-issue123-action-tests -f
Signed-off-by: lenvi lenvin@oykuapp.com
Issue #123
Added tests for
titleGenerator
&headerGenerator
Changes
headerGenerator
i.e, the util must not throw an error wheninputTitle
is not passed as props.titleGenerator
, since this util is straight forward, I have added only one test caseFlags
Related Issues