Skip to content

Commit

Permalink
[test] rename testing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Dec 23, 2017
1 parent 649f5d2 commit be3cc89
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ nbproject
.node_repl_history
.vagrant
.eslintcache
.travis.yml
.gitattributes

Thumbs.db
dump.rdb
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"test": "npm run test-lint && TRAVIS=true npm run test-dev",
"test-lint": "eslint --cache --quiet ./src",
"test-dev": "karma start",
"bundle": "npm run bundle-clean && npm run bundle-run",
"bundle-clean": "rimraf ./lib/*",
"bundle-run": "NODE_ENV=production babel src --out-dir lib",
"compile": "npm run compile-clean && npm run compile-run",
"compile-clean": "rimraf ./lib/*",
"compile-run": "babel --ignore '*.test.js' src --out-dir lib",
"play": "webpack-dev-server",
"site-dev": "next -p 7000",
"site-build": "next build",
Expand Down
2 changes: 1 addition & 1 deletion src/Animation/Animation.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Animation from './Animation';

const { mount } = testSetup(Animation);
Expand Down
2 changes: 1 addition & 1 deletion src/Arwes/Arwes.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Arwes from './Arwes';

const { mount } = testSetup(Arwes);
Expand Down
2 changes: 1 addition & 1 deletion src/Button/Button.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Button from './Button';

const { mount } = testSetup(Button);
Expand Down
2 changes: 1 addition & 1 deletion src/Code/Code.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Code from './Code';

const { mount } = testSetup(Code);
Expand Down
2 changes: 1 addition & 1 deletion src/Footer/Footer.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Footer from './Footer';

const { mount } = testSetup(Footer);
Expand Down
2 changes: 1 addition & 1 deletion src/Frame/Frame.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Frame from './Frame';

const { mount } = testSetup(Frame);
Expand Down
2 changes: 1 addition & 1 deletion src/Grid/Grid.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Grid from './Grid';

const { mount } = testSetup(Grid);
Expand Down
2 changes: 1 addition & 1 deletion src/Header/Header.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Header from './Header';

const { mount } = testSetup(Header);
Expand Down
2 changes: 1 addition & 1 deletion src/Highlight/Highlight.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Highlight from './Highlight';

const { mount } = testSetup(Highlight);
Expand Down
2 changes: 1 addition & 1 deletion src/Image/Image.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Image from './Image';

const { mount } = testSetup(Image);
Expand Down
2 changes: 1 addition & 1 deletion src/Line/Line.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Line from './Line';

const { mount } = testSetup(Line);
Expand Down
2 changes: 1 addition & 1 deletion src/Loading/Loading.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Loading from './Loading';

const { mount } = testSetup(Loading);
Expand Down
2 changes: 1 addition & 1 deletion src/Logo/Logo.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Logo from './Logo';

const { mount } = testSetup(Logo);
Expand Down
2 changes: 1 addition & 1 deletion src/Project/Project.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Project from './Project';

const { mount } = testSetup(Project);
Expand Down
2 changes: 1 addition & 1 deletion src/Puffs/Puffs.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Puffs from './Puffs';

const { mount } = testSetup(Puffs);
Expand Down
2 changes: 1 addition & 1 deletion src/Words/Words.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import testSetup from '../test-setup';
import testSetup from '../setup.test.js';
import Words from './Words';

const { mount } = testSetup(Words);
Expand Down
File renamed without changes.

0 comments on commit be3cc89

Please sign in to comment.