Merge pull request #5639 from wonga00/more_tests

Added more validation tests
This commit is contained in:
Andrew Wong
2018-12-21 16:49:11 -05:00
committed by GitHub
9 changed files with 236 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ import { select as d3_select } from 'd3-selection';
import { t, currentLocale, addTranslation, setLocale } from '../util/locale';
import { coreHistory } from './history';
import { IssueManager } from '../validations/issueManager';
import { IssueManager } from '../validations/issue_manager';
import { dataLocales, dataEn } from '../../data';
import { geoRawMercator } from '../geo/raw_mercator';
import { modeSelect } from '../modes/select';

View File

@@ -19,6 +19,7 @@ export * from './ui/settings/index';
export * from './ui/index';
export * from './util/index';
export * from './validations/index';
export { IssueManager } from './validations/issue_manager';
/* export some legacy symbols: */
import { services } from './services/index';

View File

@@ -1,11 +1,11 @@
import * as d3 from 'd3';
import { dispatch as d3_dispatch } from 'd3-dispatch';
import _filter from 'lodash-es/filter';
import { utilRebind } from '../util/rebind';
export function IssueManager(context) {
var dispatch = d3.dispatch('reload'),
var dispatch = d3_dispatch('reload'),
self = {},
issues = [];