Closed mrcnski closed 4 years ago
actually it's pretty common to keep the test files next to the source files, why would we want to move them out?
@kwypchlo I'm used to unit tests being in the same directory and integration tests being in a different directory. Otherwise, having integration tests in the same directory makes it easy to use something that wasn't actually exported. Maybe it's not common practice in JS though
@m-cat actually those are all unit tests, dependencies are mocked and they test only the actual logic.
@kwypchlo Undid the change and added function stubs in this PR
Integration tests should be in a separatetests
directory to ensure that everything was exported properly.Add function stubs