mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
Moving some JS folders (#4820)
* Moving folders * Pointing to new locations
This commit is contained in:
committed by
GitHub
parent
2900ca345d
commit
c0db6dbb57
@@ -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', () => {
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
epochTimeXHoursAgo,
|
||||
epochTimeXDaysAgo,
|
||||
epochTimeXYearsAgo,
|
||||
} from '../../../javascripts/modules/dates';
|
||||
} from '../../../src/modules/dates';
|
||||
|
||||
describe('tickMultiFormat', () => {
|
||||
it('is a function', () => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user