Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix(test): replaces dist with src in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Casasola committed Oct 11, 2019
1 parent 75cf927 commit dddf357
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/alert.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { shallow } from 'enzyme'
import { Alert } from '../dist'
import { Alert } from '../src'
import BootstrapAlert from 'react-bootstrap/Alert'

describe('Alert', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/badge.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { shallow } from 'enzyme'
import { Badge } from '../dist'
import { Badge } from '../src'
import { Badge as BootstrapBadge } from 'react-bootstrap'

describe('Badge', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/bargraph.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { mount } from 'enzyme'
import { BarGraph } from '../dist'
import { BarGraph } from '../src'

describe('BarGraph', () => {
it('BarGraph renders itself without crashing', () => {
Expand Down
4 changes: 2 additions & 2 deletions test/button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as React from 'react'
import { shallow } from 'enzyme'
import * as sinon from 'sinon'
import { Button as BootstrapButton } from 'react-bootstrap'
import { Button } from '../dist'
import { Icon } from '../dist'
import { Button } from '../src'
import { Icon } from '../src'

describe('Button', () => {
it('Button renders itself without crashing', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/icon.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { shallow } from 'enzyme'
import { Icon } from '../dist'
import { Icon } from '../src'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

describe('Icon', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/linegraph.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { mount } from 'enzyme'
import { LineGraph } from '../dist'
import { LineGraph } from '../src'

describe('LineGraph', () => {
it('LineGraph renders itself without crashing', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/piegraph.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { mount } from 'enzyme'
import { PieGraph } from '../dist'
import { PieGraph } from '../src'

describe('PieGraph', () => {
it('PieGraph renders itself without crashing', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/pill.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { shallow } from 'enzyme'
import { Pill } from '../dist'
import { Pill } from '../src'
import { Badge } from 'react-bootstrap'

describe('Pill', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/spinner.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import * as Spinners from 'react-spinners'
import { shallow } from 'enzyme'
import { Spinner } from '../dist'
import { Spinner } from '../src'

describe('Spinner', () => {
it('Spinner renders itself without crashing', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/textfield.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import * as sinon from 'sinon'
import { mount } from 'enzyme'
import { TextField } from '../src/components/TextField'
import { TextField } from '../src'

describe('TextField', () => {
it('renders a TextField without crashing', () => {
Expand Down

0 comments on commit dddf357

Please sign in to comment.