mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Bumping the JS libs to fix the build (#2616)
* bumping the js libs * New linting rules * More linting * More * Done linting * npm >=4.5.0 * Bumping node * Tweaking the build * Fixing the damn build * Fixing the apps
This commit is contained in:
committed by
GitHub
parent
a2b30f35fc
commit
366ecefbaa
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import CodeModal from '../../../javascripts/dashboard/components/CodeModal';
|
||||
import { mount } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import CodeModal from '../../../javascripts/dashboard/components/CodeModal';
|
||||
|
||||
describe('CodeModal', () => {
|
||||
const mockedProps = {
|
||||
@@ -11,7 +11,7 @@ describe('CodeModal', () => {
|
||||
};
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<CodeModal {...mockedProps} />)
|
||||
React.isValidElement(<CodeModal {...mockedProps} />),
|
||||
).to.equal(true);
|
||||
});
|
||||
it('renders the trigger node', () => {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import CssEditor from '../../../javascripts/dashboard/components/CssEditor';
|
||||
import { mount } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import CssEditor from '../../../javascripts/dashboard/components/CssEditor';
|
||||
|
||||
describe('CssEditor', () => {
|
||||
const mockedProps = {
|
||||
@@ -11,7 +11,7 @@ describe('CssEditor', () => {
|
||||
};
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<CssEditor {...mockedProps} />)
|
||||
React.isValidElement(<CssEditor {...mockedProps} />),
|
||||
).to.equal(true);
|
||||
});
|
||||
it('renders the trigger node', () => {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import RefreshIntervalModal from '../../../javascripts/dashboard/components/RefreshIntervalModal';
|
||||
import { mount } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import RefreshIntervalModal from '../../../javascripts/dashboard/components/RefreshIntervalModal';
|
||||
|
||||
describe('RefreshIntervalModal', () => {
|
||||
const mockedProps = {
|
||||
@@ -11,7 +11,7 @@ describe('RefreshIntervalModal', () => {
|
||||
};
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<RefreshIntervalModal {...mockedProps} />)
|
||||
React.isValidElement(<RefreshIntervalModal {...mockedProps} />),
|
||||
).to.equal(true);
|
||||
});
|
||||
it('renders the trigger node', () => {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import SliceCell from '../../../javascripts/dashboard/components/SliceCell';
|
||||
import { mount } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { slice } from './fixtures';
|
||||
|
||||
import SliceCell from '../../../javascripts/dashboard/components/SliceCell';
|
||||
|
||||
describe('SliceCell', () => {
|
||||
const mockedProps = {
|
||||
@@ -14,7 +14,7 @@ describe('SliceCell', () => {
|
||||
};
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<SliceCell {...mockedProps} />)
|
||||
React.isValidElement(<SliceCell {...mockedProps} />),
|
||||
).to.equal(true);
|
||||
});
|
||||
it('renders five links', () => {
|
||||
|
||||
Reference in New Issue
Block a user