mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
move ConditionalRedirect test to components subfolder
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
|||||||
Redirect
|
Redirect
|
||||||
} from 'react-router-dom';
|
} from 'react-router-dom';
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import ConditionalRedirect from '../src/components/ConditionalRedirect';
|
import ConditionalRedirect from '../../src/components/ConditionalRedirect';
|
||||||
|
|
||||||
describe('<ConditionalRedirect />', () => {
|
describe('<ConditionalRedirect />', () => {
|
||||||
test('renders Redirect when shouldRedirect is passed truthy func', () => {
|
test('renders Redirect when shouldRedirect is passed truthy func', () => {
|
||||||
Reference in New Issue
Block a user