Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
working on select component
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Sep 12, 2016
1 parent b32feb5 commit 5f38079
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ addDecorator((fn, { kind, story }) => <div>
function loadStories() {
require('../src/stories/Button')
require('../src/stories/Dropdown')
// require('../src/stories/Select')
require('../src/stories/Modal')
require('../src/stories/Input')
require('../src/stories/Modal')
require('../src/stories/Select')
}

configure(loadStories, module)
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@
},
"jest": {
"coverageReporters": [
"lcov"
"lcov",
"text"
],
"coveragePathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/"
"collectCoverageFrom": [
"**/src/**/*.js",
"!**/stories/**/*.js",
"!**/__mocks__/**",
"!**/__tests__/**"
],
"moduleNameMapper": {
"uikit-react(.*)": "<rootDir>/src$1"
},
"coverageDirectory": "<rootDir>/.coverage",
"setupFiles": [
"<rootDir>/test/setup.js"
Expand Down Expand Up @@ -93,7 +99,8 @@
"dependencies": {
"classnames": "2.2.5",
"react-input-autosize": "1.1.0",
"react-key-handler": "0.2.0"
"react-key-handler": "0.2.0",
"reselect": "2.5.3"
},
"contributors": [
{
Expand Down
3 changes: 1 addition & 2 deletions src/__tests__/Button-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import renderer from 'react-test-renderer'

import Button from '../Button'
import { Button } from 'uikit-react'

test('Button renders correctly', () => {
expect(renderer.create(
Expand Down

0 comments on commit 5f38079

Please sign in to comment.