chore(): added jest and removed unused test.

This commit is contained in:
Josh Thomas
2017-07-26 13:42:55 -05:00
parent 08f0784438
commit 73daa0ec27
3 changed files with 1261 additions and 10 deletions

View File

@ -1,8 +0,0 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
});

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
"scripts": {
"build": "stencil build --prod",
"dev": "sd concurrent \"stencil build --watch\" \"stencil-dev-server\"",
"test": "jest"
"test": "(jest --no-cache || true)"
},
"repository": {
"type": "git",
@ -18,7 +18,8 @@
"devDependencies": {
"@stencil/dev-server": "0.0.11",
"@stencil/utils": "0.0.3",
"ionicons": "3.0.0"
"ionicons": "3.0.0",
"jest": "^20.0.4"
},
"author": "Ionic Team",
"license": "MIT",