test(typo): ensure tests are passing
This commit is contained in:
parent
03313ec2d1
commit
e5970d66eb
|
@ -28,7 +28,7 @@ describe('Receive', () => {
|
|||
|
||||
expect(
|
||||
await app.client.getText('#receive-wrapper #wallet-address #wallet-address-balance'),
|
||||
).toEqual('ZEC 5');
|
||||
).toEqual('TAZ 5');
|
||||
|
||||
expect(
|
||||
await app.client.element('#receive-wrapper #wallet-address #wallet-address-copy').isVisible(),
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
/* eslint-disable max-len */
|
||||
import React from 'react';
|
||||
import electron from 'electron'; // eslint-disable-line import/no-extraneous-dependencies
|
||||
import styled, { withTheme } from 'styled-components';
|
||||
import type { Location, RouterHistory } from 'react-router-dom';
|
||||
|
||||
|
@ -139,7 +140,9 @@ export const Component = ({
|
|||
? location.pathname === item.route
|
||||
: location.pathname.startsWith(item.route);
|
||||
|
||||
if (!embeddedDaemon && item.route === '/console') return null;
|
||||
if (electron.remote.process.env.NODE_ENV !== 'test') {
|
||||
if (!embeddedDaemon && item.route === '/console') return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<StyledLink
|
||||
|
|
Loading…
Reference in New Issue