mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +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
@@ -5,9 +5,9 @@ import { expect } from 'chai';
|
||||
|
||||
import { Table, Thead, Td, Th, Tr } from 'reactable';
|
||||
|
||||
import AlteredSliceTag from '../../../javascripts/components/AlteredSliceTag';
|
||||
import ModalTrigger from '../../../javascripts/components/ModalTrigger';
|
||||
import TooltipWrapper from '../../../javascripts/components/TooltipWrapper';
|
||||
import AlteredSliceTag from '../../../src/components/AlteredSliceTag';
|
||||
import ModalTrigger from '../../../src/components/ModalTrigger';
|
||||
import TooltipWrapper from '../../../src/components/TooltipWrapper';
|
||||
|
||||
const defaultProps = {
|
||||
origFormData: {
|
||||
|
||||
@@ -5,7 +5,7 @@ import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import sinon from 'sinon';
|
||||
|
||||
import AsyncSelect from '../../../javascripts/components/AsyncSelect';
|
||||
import AsyncSelect from '../../../src/components/AsyncSelect';
|
||||
|
||||
describe('AsyncSelect', () => {
|
||||
const mockedProps = {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
import { Label } from 'react-bootstrap';
|
||||
|
||||
import CachedLabel from '../../../javascripts/components/CachedLabel';
|
||||
import CachedLabel from '../../../src/components/CachedLabel';
|
||||
|
||||
describe('CachedLabel', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { describe, it } from 'mocha';
|
||||
import sinon from 'sinon';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import Checkbox from '../../../javascripts/components/Checkbox';
|
||||
import Checkbox from '../../../src/components/Checkbox';
|
||||
|
||||
describe('Checkbox', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -3,9 +3,9 @@ import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import ColumnOption from '../../../javascripts/components/ColumnOption';
|
||||
import ColumnTypeLabel from '../../../javascripts/components/ColumnTypeLabel';
|
||||
import InfoTooltipWithTrigger from '../../../javascripts/components/InfoTooltipWithTrigger';
|
||||
import ColumnOption from '../../../src/components/ColumnOption';
|
||||
import ColumnTypeLabel from '../../../src/components/ColumnTypeLabel';
|
||||
import InfoTooltipWithTrigger from '../../../src/components/InfoTooltipWithTrigger';
|
||||
|
||||
describe('ColumnOption', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import ColumnTypeLabel from '../../../javascripts/components/ColumnTypeLabel';
|
||||
import ColumnTypeLabel from '../../../src/components/ColumnTypeLabel';
|
||||
|
||||
describe('ColumnOption', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
|
||||
import CopyToClipboard from '../../../javascripts/components/CopyToClipboard';
|
||||
import CopyToClipboard from '../../../src/components/CopyToClipboard';
|
||||
|
||||
describe('CopyToClipboard', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { mount } from 'enzyme';
|
||||
import FilterableTable from '../../../../javascripts/components/FilterableTable/FilterableTable';
|
||||
import FilterableTable from '../../../../src/components/FilterableTable/FilterableTable';
|
||||
|
||||
describe('FilterableTable', () => {
|
||||
const mockedProps = {
|
||||
|
||||
@@ -3,9 +3,9 @@ import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import MetricOption from '../../../javascripts/components/MetricOption';
|
||||
import ColumnTypeLabel from '../../../javascripts/components/ColumnTypeLabel';
|
||||
import InfoTooltipWithTrigger from '../../../javascripts/components/InfoTooltipWithTrigger';
|
||||
import MetricOption from '../../../src/components/MetricOption';
|
||||
import ColumnTypeLabel from '../../../src/components/ColumnTypeLabel';
|
||||
import InfoTooltipWithTrigger from '../../../src/components/InfoTooltipWithTrigger';
|
||||
|
||||
describe('MetricOption', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
|
||||
import ModalTrigger from '../../../javascripts/components/ModalTrigger';
|
||||
import ModalTrigger from '../../../src/components/ModalTrigger';
|
||||
|
||||
describe('ModalTrigger', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -7,7 +7,7 @@ import { describe, it } from 'mocha';
|
||||
import VirtualizedSelect from 'react-virtualized-select';
|
||||
import Select, { Creatable } from 'react-select';
|
||||
|
||||
import OnPasteSelect from '../../../javascripts/components/OnPasteSelect';
|
||||
import OnPasteSelect from '../../../src/components/OnPasteSelect';
|
||||
|
||||
const defaultProps = {
|
||||
onChange: sinon.spy(),
|
||||
|
||||
@@ -3,8 +3,8 @@ import { shallow } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import InfoTooltipWithTrigger from '../../../javascripts/components/InfoTooltipWithTrigger';
|
||||
import OptionDescription from '../../../javascripts/components/OptionDescription';
|
||||
import InfoTooltipWithTrigger from '../../../src/components/InfoTooltipWithTrigger';
|
||||
import OptionDescription from '../../../src/components/OptionDescription';
|
||||
|
||||
const defaultProps = {
|
||||
option: {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import PopoverSection from '../../../javascripts/components/PopoverSection';
|
||||
import PopoverSection from '../../../src/components/PopoverSection';
|
||||
|
||||
describe('PopoverSection', () => {
|
||||
const defaultProps = {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import VirtualizedRendererWrap from '../../../javascripts/components/VirtualizedRendererWrap';
|
||||
import VirtualizedRendererWrap from '../../../src/components/VirtualizedRendererWrap';
|
||||
|
||||
const defaultProps = {
|
||||
focusedOption: { label: 'focusedOn', value: 'focusedOn' },
|
||||
|
||||
Reference in New Issue
Block a user