Writing an Integration Test
Learn how to write an integration test in Deno.
We'll cover the following...
In this lesson, we’ll write more interesting tests. These are the tests that will teach us how to check the integration between the different modules of the application.
Integration test
Our first unit test, which we created previously, relied on a mocked instance of the repository to guarantee that our controller was working. That test adds great value when it comes to detecting bugs in MuseumController
, but it isn’t worth much in terms of ...