diff --git a/__mocks__/electron-store.js b/__mocks__/electron-store.js new file mode 100644 index 00000000..18b7e974 --- /dev/null +++ b/__mocks__/electron-store.js @@ -0,0 +1,10 @@ +/* eslint-disable */ +module.exports = class { + constructor({ encryptionKey }) { + this.encryptionKey = encryptionKey; + } + + get() { + return 'test value'; + } +}; diff --git a/__tests__/components/__snapshots__/transaction-item.test.js.snap b/__tests__/components/__snapshots__/transaction-item.test.js.snap index a39e0ba5..c2cb98ad 100644 --- a/__tests__/components/__snapshots__/transaction-item.test.js.snap +++ b/__tests__/components/__snapshots__/transaction-item.test.js.snap @@ -46,7 +46,7 @@ exports[` should render a transaction item correctly 1`] = `

- -ZEC 0.865 + -TAZ 0.865

render() should render user daily transac

- +ZEC 1.789 + +TAZ 1.789

render() should render user daily transac

- -ZEC 0.846 + -TAZ 0.846