You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a bunch of cases where we mock command.error using command.error = jest.fn()
The oclif behavior of command.error is to exit, however our mock simply swallows the error and continues. This means we have a whole bunch of places where we are testing for arguments and calls to functions that should never have happened because command.error should have exited.
Simply removing the mock in deploy.test.js reveals 38 errors, which are all invalid tests and need to be written.
The text was updated successfully, but these errors were encountered:
There are a bunch of cases where we mock command.error using
command.error = jest.fn()
The oclif behavior of command.error is to exit, however our mock simply swallows the error and continues. This means we have a whole bunch of places where we are testing for arguments and calls to functions that should never have happened because command.error should have exited.
Simply removing the mock in deploy.test.js reveals 38 errors, which are all invalid tests and need to be written.
The text was updated successfully, but these errors were encountered: