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:
Maxime Beauchemin
2017-04-13 15:04:09 -07:00
committed by GitHub
parent a2b30f35fc
commit 366ecefbaa
132 changed files with 611 additions and 553 deletions

View File

@@ -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', () => {

View File

@@ -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', () => {

View File

@@ -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', () => {

View File

@@ -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', () => {