GoodDAPP icon indicating copy to clipboard operation
GoodDAPP copied to clipboard

(Chore) Wrap all stubs/backdoors made for automated testing

Open serdiukov-o-nordwhale opened this issue 4 years ago • 0 comments

All stubs/backdoors (e.g. something exposed to the global) for automated testing should be added if we're running tests only.

We should check for isE2ERunning flag from src/lib/utils/platform You could find commented example here: https://github.com/GoodDollar/GoodDAPP/pull/1825/files#diff-175e532f7fea7eb24a3931edf58f2a7eR4

serdiukov-o-nordwhale avatar May 12 '20 14:05 serdiukov-o-nordwhale