move ConditionalRedirect test to components subfolder

This commit is contained in:
John Mitchell 2018-11-02 16:33:40 -04:00
parent a670a73fd0
commit 07f6508402
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -4,7 +4,7 @@ import {
Redirect
} from 'react-router-dom';
import { shallow } from 'enzyme';
import ConditionalRedirect from '../src/components/ConditionalRedirect';
import ConditionalRedirect from '../../src/components/ConditionalRedirect';
describe('<ConditionalRedirect />', () => {
test('renders Redirect when shouldRedirect is passed truthy func', () => {