Browse Source

Fix lint

master
meriadec 7 years ago
parent
commit
9be6fa8282
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 12
      src/components/CounterValue/__tests__/__snapshots__/CounterValue.test.js.snap
  2. 2
      src/components/ManagerPage/stories/PlugYourDevice.stories.js
  3. 12
      src/components/base/FormattedVal/__tests__/__snapshots__/FormattedVal.test.js.snap

12
src/components/CounterValue/__tests__/__snapshots__/CounterValue.test.js.snap

@ -2,7 +2,7 @@
exports[`components CounterValue basic 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ USD 10.00
@ -11,7 +11,7 @@ exports[`components CounterValue basic 1`] = `
exports[`components CounterValue specifying ticker different from default 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ USD 5.00
@ -20,7 +20,7 @@ exports[`components CounterValue specifying ticker different from default 1`] =
exports[`components CounterValue using countervalue different from default 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 bPBcmj"
className="k45ou1-0 iqaJGf e345n3-0 huzgmt"
color={undefined}
>
+ EUR 0.42
@ -29,7 +29,7 @@ exports[`components CounterValue using countervalue different from default 1`] =
exports[`components CounterValue with time travel whith date in countervalues 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ USD 20.00
@ -38,7 +38,7 @@ exports[`components CounterValue with time travel whith date in countervalues 1`
exports[`components CounterValue with time travel whith date not in countervalues 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ USD 0.00
@ -47,7 +47,7 @@ exports[`components CounterValue with time travel whith date not in countervalue
exports[`components CounterValue without countervalues populated 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ USD 0.00

2
src/components/ManagerPage/stories/PlugYourDevice.stories.js

@ -3,8 +3,6 @@
import React from 'react'
import { storiesOf } from '@storybook/react'
import { text, select } from '@storybook/addon-knobs'
import { action } from '@storybook/addon-actions'
import Box from 'components/base/Box'
import PlugYourDevice from '../PlugYourDevice'

12
src/components/base/FormattedVal/__tests__/__snapshots__/FormattedVal.test.js.snap

@ -2,7 +2,7 @@
exports[`components FormattedVal renders a fiat 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
20.00
@ -11,7 +11,7 @@ exports[`components FormattedVal renders a fiat 1`] = `
exports[`components FormattedVal renders a formatted val 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
4
@ -20,7 +20,7 @@ exports[`components FormattedVal renders a formatted val 1`] = `
exports[`components FormattedVal renders a percent 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
30 %
@ -29,7 +29,7 @@ exports[`components FormattedVal renders a percent 1`] = `
exports[`components FormattedVal shows code 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
BTC 4
@ -38,7 +38,7 @@ exports[`components FormattedVal shows code 1`] = `
exports[`components FormattedVal shows sign 1`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 grmBGS"
className="k45ou1-0 iqaJGf e345n3-0 bJwMKx"
color="#66be54"
>
+ 4
@ -47,7 +47,7 @@ exports[`components FormattedVal shows sign 1`] = `
exports[`components FormattedVal shows sign 2`] = `
<div
className="s1c17x4y-0 jLdFhK s1xoa5y3-0 kyprQb"
className="k45ou1-0 iqaJGf e345n3-0 dHGwW"
color="#ea2e49"
>
- 4

Loading…
Cancel
Save