mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +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,10 +1,11 @@
|
||||
import React from 'react';
|
||||
import { TabbedSqlEditors } from '../../../javascripts/SqlLab/components/TabbedSqlEditors';
|
||||
import { Tab } from 'react-bootstrap';
|
||||
import { shallow } from 'enzyme';
|
||||
import { describe, it } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import { initialState } from './fixtures';
|
||||
import { TabbedSqlEditors } from '../../../javascripts/SqlLab/components/TabbedSqlEditors';
|
||||
|
||||
describe('TabbedSqlEditors', () => {
|
||||
const mockedProps = {
|
||||
@@ -17,7 +18,7 @@ describe('TabbedSqlEditors', () => {
|
||||
};
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<TabbedSqlEditors {...mockedProps} />)
|
||||
React.isValidElement(<TabbedSqlEditors {...mockedProps} />),
|
||||
).to.equal(true);
|
||||
});
|
||||
it('shallow mounts', () => {
|
||||
|
||||
Reference in New Issue
Block a user