Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support and implement absolute imports from src/ where appropriate (#97) * Allow absolute imports from src/ * Fix tests not supporting absolute imports from src * Use absolute imports where appropriate * Fix calls to jest.mock * Use babel-plugin-root-import for absolute imports (#119) * Implement event --> UI integration tests (#102) * refactored transaction-queue * updated tests * updated to use new transaction queue methods * more refactoring * more test updates * add missing handleError calls * made sure promise is returned to avoid warnings * Lint jest functions correctly * refactored duplicate transaction check to be more robust * added args equal check function * Mock date.now() when in test env * Remove redundant .eslintrc files * implemented txSpeedUp functionality * Fix date.now() mocking in test env * Initial UI render tests * Update snapshots based on refactor/transaction-queue-use-id * Remove redundant input validation * Handle 'nonce' and 'startTime' seperately * Revert "remove speed up commit" This reverts commit d7c5cb5. * Add placeholder transactionMessage * Test remainder of eventCodes * added txConfirmClient transactionMsgs obj * Add UI tests activeContract category events * Improve comments Improve variable naming * Remove redundant comments * Add activePreflight notificationUI tests * Test passing inlineCustomMsgs works correctly * Improve comment * Improve comments * - Make adding custom state to tests more flexible - Improve comments * - Clean up logic - Improve comments * Add support for object-rest-spread * - Restructure ui-rendering.test.js to be more flexible - Allow easy testing of clickHandlers - Improve test coverage * - Improve mockTxFactory - Add UI test for browserFail event * - Allow testing custom localstorage values - Allow testing primary btn clicks - Test welcomeUser event * Allow to easily specify custom states for tests * Fix test name typo * Improve test names * Add custom initial states for welcomeUser * Test welcomeUser category activePreflight * Add UI test for walletFail event * Add UI tests for event walletLogin * Add UI tests for event walletLoginEnable * Add UI tests for event walletEnable * Add UI test for networkFail event * Add UI tests for event nsfFail category onboard * Add UI test for onboard-newOnboardComplete event * Add UI test for event mobileBlocked-activePreflight * Improve onboarding complete tests * Improve ability to define custom stores in UI tests * Abstract some code duplication * Improve comments * Improve integration test file structure * Improve comments * Improve test naming generation * Improve comments * Add UI test for txSpeedUp * - Improve comments - Improve function naming * Improve comments * Override user timezone in test environment * Add tests for iframe visibility * - Update event-definitions (#120) - Update snapshots * Library initialization integration tests (#117) * Export a copy of initialState for use in tests * Export getState for testing * Initial initialization integration tests * Improve test wording * Remove redundant comment * Call getState from an assistInstance * Use absolute imports * removed regex check that was causing inconsistent behaviour for overloaded methods (#121) * Address babel corejs warning (#128) * Parallelize async calls in getTransactionParams * Parallelize some async calls in sendTransaction * Handle window resize events while modal is open (#132) * Move babel-eslint to devDependencies (#138) * Delegate image processing to babel (#136) * Add integration tests for logic triggered by websockets (#122) * Export a copy of initialState for use in tests * Export getState for testing * Initial initialization integration tests * Improve test wording * Remove redundant comment * Add integration tests for websocket related logic * Remove redundant file * Minor code quality improvement * Improve import path readibility * Improve readability of websocket integration tests * Improve readability * Code readability * Remove redundant export * update 0.6.1 * fix yarn lock from merge
- Loading branch information