Skip to content

Conversation

@mike-hanson
Copy link
Contributor

This change has Substitute.for return a new type SubstituteOf allowing variables in tests to be typed to the new type and provide better intellisense when variables are declared and set at a higher scope. e.g. declared in describe block and set in beforeEach bloc.

@ffMathy ffMathy merged commit 13be317 into ffMathy:master Apr 2, 2019
mike-hanson pushed a commit to mike-hanson/FluffySpoon.JavaScript.Testing.Faking that referenced this pull request Apr 3, 2019
Added SubstituteOf as as return type from Substitute.for (ffMathy#37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants