Commit 055f4b80 authored by Robert Knight's avatar Robert Knight

Move last remaining module out of src/sidebar/directive/test

Move Angular component testing utilities into
src/sidebar/components/test and rename the module to make it clear that
it contains Angular-specific code which we can delete once all
components are converted.
parent e1d17fe9
import angular from 'angular'; import angular from 'angular';
import * as util from '../../directive/test/util'; import * as util from './angular-util';
import events from '../../events'; import events from '../../events';
import * as fixtures from '../../test/annotation-fixtures'; import * as fixtures from '../../test/annotation-fixtures';
import annotationComponent from '../annotation'; import annotationComponent from '../annotation';
......
import angular from 'angular'; import angular from 'angular';
import * as util from '../../directive/test/util'; import * as util from './angular-util';
import * as fixtures from '../../test/annotation-fixtures'; import * as fixtures from '../../test/annotation-fixtures';
import annotationThread from '../annotation-thread'; import annotationThread from '../annotation-thread';
import moderationBanner from '../moderation-banner'; import moderationBanner from '../moderation-banner';
......
...@@ -2,7 +2,7 @@ import angular from 'angular'; ...@@ -2,7 +2,7 @@ import angular from 'angular';
import immutable from 'seamless-immutable'; import immutable from 'seamless-immutable';
import EventEmitter from 'tiny-emitter'; import EventEmitter from 'tiny-emitter';
import * as util from '../../directive/test/util'; import * as util from './angular-util';
import events from '../../events'; import events from '../../events';
import threadList, { $imports } from '../thread-list'; import threadList, { $imports } from '../thread-list';
......
...@@ -4,7 +4,7 @@ import { useContext } from 'preact/hooks'; ...@@ -4,7 +4,7 @@ import { useContext } from 'preact/hooks';
import propTypes from 'prop-types'; import propTypes from 'prop-types';
import { Injector } from '../../../shared/injector'; import { Injector } from '../../../shared/injector';
import { createDirective } from '../../directive/test/util'; import { createDirective } from '../../components/test/angular-util';
import { ServiceContext } from '../service-context'; import { ServiceContext } from '../service-context';
import wrapReactComponent from '../wrap-react-component'; import wrapReactComponent from '../wrap-react-component';
......
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