mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-02 12:59:14 +00:00
Tests using the mock `testWithData` method were not restoring the dockerode prototype to the default values, making some tests behave differently when run individually that when run with the suite. This commit fixes the `testWithData` method and some malfunctioning v1 API tests because of the change. It doesn't fix all the tests