Fixtures
Last updated
Was this helpful?
Last updated
Was this helpful?
How can you modify the type signatures of your production code without having to update the tests that consume them too
By decoupling the tests from the production object initialization code with fixtures.
Define a fixture extension:
and update our test code from:
to: