Skip to content

Commit

Permalink
Merge pull request #25 from matheusps/buttons
Browse files Browse the repository at this point in the history
Buttons
  • Loading branch information
matheusps authored Apr 16, 2019
2 parents c06a3bb + 4b0280b commit b5f0b65
Show file tree
Hide file tree
Showing 13 changed files with 666 additions and 73 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"presets": ["@babel/env", "@babel/react", "@babel/typescript"],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
"@babel/proposal-object-rest-spread",
"babel-plugin-styled-components"
]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
"@types/react-dom": "^16.8.3",
"@types/styled-components": "^4.1.13",
"babel-loader": "^8.0.5",
"babel-plugin-styled-components": "^1.10.0",
"codecov": "^3.3.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.7.1",
"jest-styled-components": "^6.3.1",
"react-docgen-typescript": "^1.12.3",
"react-styleguidist": "^9.0.5",
"react-testing-library": "^6.1.1",
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { render } from 'react-testing-library'
import App from '../App'
import 'jest-styled-components'

describe('App component', () => {
it('should render', () => {
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/Buttons.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { render } from 'react-testing-library'
import Button from '../components/Button'
import QuarksTheme from '../components/QuarksTheme'
import 'jest-styled-components'

describe('Container component', () => {
const renderComponent = (customProps?) =>
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/Container.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { render } from 'react-testing-library'
import Container from '../components/Container'
import QuarksTheme from '../components/QuarksTheme'
import 'jest-styled-components'

describe('Container component', () => {
const component = render(
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/Loader.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { render } from 'react-testing-library'
import Loader from '../components/Loader'
import QuarksTheme from '../components/QuarksTheme'
import 'jest-styled-components'

describe('Container component', () => {
const renderComponent = (customProps?) =>
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/QuarksTheme.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { render } from 'react-testing-library'
import QuarksTheme from '../components/QuarksTheme'
import 'jest-styled-components'

describe('Container component', () => {
const component = render(
Expand Down
Loading

0 comments on commit b5f0b65

Please sign in to comment.