Commit cb422630 authored by Mike Greiling's avatar Mike Greiling

Relocate the deprecated droplab library inside filtered_search

parent 13c54636
......@@ -5,8 +5,8 @@ import {
canCreateConfidentialMergeRequest,
} from './confidential_merge_request';
import confidentialMergeRequestState from './confidential_merge_request/state';
import DropLab from './droplab/drop_lab';
import ISetter from './droplab/plugins/input_setter';
import DropLab from './filtered_search/droplab/drop_lab';
import ISetter from './filtered_search/droplab/plugins/input_setter';
import createFlash from './flash';
import axios from './lib/utils/axios_utils';
import { __, sprintf } from './locale';
......
import { last } from 'lodash';
import AvailableDropdownMappings from 'ee_else_ce/filtered_search/available_dropdown_mappings';
import DropLab from '~/droplab/drop_lab';
import DropLab from './droplab/drop_lab';
import { DROPDOWN_TYPE } from './constants';
import FilteredSearchContainer from './container';
import DropdownUtils from './dropdown_utils';
......
import DropdownUtils from '~/filtered_search/dropdown_utils';
import FilteredSearchDropdown from '~/filtered_search/filtered_search_dropdown';
import CustomNumber from '../droplab/plugins/custom_number';
import CustomNumber from './droplab/plugins/custom_number';
export default class DropdownWeight extends FilteredSearchDropdown {
constructor(options = {}) {
......
import * as constants from '~/droplab/constants';
import * as constants from '~/filtered_search/droplab/constants';
describe('constants', () => {
describe('DATA_TRIGGER', () => {
......
import { SELECTED_CLASS } from '~/droplab/constants';
import DropDown from '~/droplab/drop_down';
import utils from '~/droplab/utils';
import { SELECTED_CLASS } from '~/filtered_search/droplab/constants';
import DropDown from '~/filtered_search/droplab/drop_down';
import utils from '~/filtered_search/droplab/utils';
describe('DropLab DropDown', () => {
let testContext;
......
import DropDown from '~/droplab/drop_down';
import Hook from '~/droplab/hook';
import DropDown from '~/filtered_search/droplab/drop_down';
import Hook from '~/filtered_search/droplab/hook';
jest.mock('~/droplab/drop_down', () => jest.fn());
jest.mock('~/filtered_search/droplab/drop_down', () => jest.fn());
describe('Hook', () => {
let testContext;
......
import AjaxFilter from '~/droplab/plugins/ajax_filter';
import AjaxFilter from '~/filtered_search/droplab/plugins/ajax_filter';
import AjaxCache from '~/lib/utils/ajax_cache';
describe('AjaxFilter', () => {
......
import Ajax from '~/droplab/plugins/ajax';
import Ajax from '~/filtered_search/droplab/plugins/ajax';
import AjaxCache from '~/lib/utils/ajax_cache';
describe('Ajax', () => {
......
import InputSetter from '~/droplab/plugins/input_setter';
import InputSetter from '~/filtered_search/droplab/plugins/input_setter';
describe('InputSetter', () => {
let testContext;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment