Moving some JS folders (#4820)

* Moving folders

* Pointing to new locations
This commit is contained in:
Maxime Beauchemin
2018-04-17 21:05:01 -07:00
committed by GitHub
parent 2900ca345d
commit c0db6dbb57
353 changed files with 257 additions and 257 deletions

View File

@@ -1,7 +1,7 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import { ALL_COLOR_SCHEMES, getColorFromScheme, hexToRGB } from '../../../javascripts/modules/colors';
import { ALL_COLOR_SCHEMES, getColorFromScheme, hexToRGB } from '../../../src/modules/colors';
describe('colors', () => {
it('default to bnbColors', () => {

View File

@@ -8,7 +8,7 @@ import {
epochTimeXHoursAgo,
epochTimeXDaysAgo,
epochTimeXYearsAgo,
} from '../../../javascripts/modules/dates';
} from '../../../src/modules/dates';
describe('tickMultiFormat', () => {
it('is a function', () => {

View File

@@ -1,7 +1,7 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import { unitToRadius } from '../../../javascripts/modules/geo';
import { unitToRadius } from '../../../src/modules/geo';
const METER_TO_MILE = 1609.34;

View File

@@ -1,7 +1,7 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import sandboxedEval from '../../../javascripts/modules/sandbox';
import sandboxedEval from '../../../src/modules/sandbox';
describe('sandboxedEval', () => {
it('works like a basic eval', () => {

View File

@@ -4,7 +4,7 @@ import {
tryNumify, slugify, formatSelectOptionsForRange, d3format,
d3FormatPreset, d3TimeFormatPreset, defaultNumberFormatter,
mainMetric,
} from '../../../javascripts/modules/utils';
} from '../../../src/modules/utils';
describe('utils', () => {
it('tryNumify works as expected', () => {