Skip to content

Commit

Permalink
Make sure tests run using the proper source
Browse files Browse the repository at this point in the history
  • Loading branch information
claydiffrient committed Mar 9, 2017
1 parent e3e177b commit 9e2d3eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions specs/Modal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import React from 'react';
import sinon from 'sinon';
import expect from 'expect';
import ReactDOM from 'react-dom';
import Modal from '../lib/components/Modal';
import * as ariaAppHider from '../lib/helpers/ariaAppHider';
import Modal from '../src/components/Modal';
import * as ariaAppHider from '../src/helpers/ariaAppHider';
import { renderModal, unmountModal, emptyDOM } from './helper';

const Simulate = TestUtils.Simulate;
Expand Down
2 changes: 1 addition & 1 deletion specs/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint react/no-render-return-value: "warn" */
import React from 'react';
import ReactDOM from 'react-dom';
import Modal from '../lib/components/Modal';
import Modal from '../src/components/Modal';

const divStack = [];

Expand Down
2 changes: 1 addition & 1 deletion specs/spec_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ testsContext.keys().forEach((path) => {
}
});

const componentsContext = require.context('../lib', true, /\.js$/);
const componentsContext = require.context('../src', true, /\.js$/);
componentsContext.keys().forEach((path) => {
try {
componentsContext(path);
Expand Down

0 comments on commit 9e2d3eb

Please sign in to comment.