Select targets tests (#1307)
* Adds tests for the TargetDetails component * Adds tests for Select Targets Menu * Rename target_stub to target_mock * Adds tests for the SelectTargetsDropdown & minor refactor
This commit is contained in:
@@ -4,7 +4,7 @@ import { mount } from 'enzyme';
|
||||
import { noop } from 'lodash';
|
||||
|
||||
import { fillInFormInput } from 'test/helpers';
|
||||
import targetStub from 'test/target_stub';
|
||||
import targetMock from 'test/target_mock';
|
||||
import QueryForm from './index';
|
||||
|
||||
const query = {
|
||||
@@ -16,7 +16,7 @@ const query = {
|
||||
const queryText = 'SELECT * FROM users';
|
||||
|
||||
describe('QueryForm - component', () => {
|
||||
beforeEach(targetStub);
|
||||
beforeEach(targetMock);
|
||||
afterEach(restoreSpies);
|
||||
|
||||
it('renders the base error', () => {
|
||||
|
||||
Reference in New Issue
Block a user