Skip to content

Commit

Permalink
Merge pull request #379 from cosmos/fabo/349-group-component-tests
Browse files Browse the repository at this point in the history
moved tests for components into grouped folders
  • Loading branch information
nylira authored Jan 23, 2018
2 parents 9917b0a + a51e212 commit 5e84e2a
Show file tree
Hide file tree
Showing 105 changed files with 16 additions and 55 deletions.
23 changes: 0 additions & 23 deletions test/unit/specs/LiCopy.spec.js

This file was deleted.

16 changes: 0 additions & 16 deletions test/unit/specs/__snapshots__/LiCopy.spec.js.snap

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import AppFooter from 'renderer/components/common/AppFooter'

describe('AppFooter', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AppHeader from 'common/AppHeader'
import htmlBeautify from 'html-beautify'
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'

describe('AppHeader', () => {
let wrapper, store, instance
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import Vuelidate from 'vuelidate'
import htmlBeautify from 'html-beautify'
import NiSessionSignIn from 'common/NiSessionSignIn'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import Vuelidate from 'vuelidate'
import htmlBeautify from 'html-beautify'
import NISessionSignUp from 'common/NiSessionSignUp'
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'

jest.mock('electron', () => ({
clipboard: {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import NiModalHelp from 'common/NiModalHelp'

describe('NiModalHelp', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import NiModalSearch from 'common/NiModalSearch'
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'

describe('NiModalSearch', () => {
let wrapper, store
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NiUserPane from 'common/NiUserPane'
import ListItem from 'common/NiListItem'
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'

describe('NiUserPane', () => {
let wrapper, router, store, instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import Page404 from 'renderer/components/common/Page404'

describe('Page404', () => {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import LiDelegate from 'renderer/components/staking/LiDelegate'

describe('LiDelegate', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import htmlBeautify from 'html-beautify'
import Vuelidate from 'vuelidate'
import PageBond from 'renderer/components/staking/PageBond'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import PageDelegate from 'renderer/components/staking/PageDelegate'

describe('PageDelegate', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import htmlBeautify from 'html-beautify'
import PageDelegates from 'renderer/components/staking/PageDelegates'

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import PageBalances from 'renderer/components/wallet/PageBalances'

describe('PageBalances', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import Vuelidate from 'vuelidate'
import PageSend from 'renderer/components/wallet/PageSend'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setup from '../helpers/vuex-setup'
import setup from '../../../helpers/vuex-setup'
import PageTransactions from 'renderer/components/wallet/PageTransactions'

describe('PageTransactions', () => {
Expand Down

0 comments on commit 5e84e2a

Please sign in to comment.