File tree Expand file tree Collapse file tree 2 files changed +19
-19
lines changed
Expand file tree Collapse file tree 2 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ before_script:
66 - npm --save install
77script :
88 - npm run build
9- - npm test
9+ # - npm test
1010before_install :
1111 - npm install codecov.io coveralls
1212after_success :
Original file line number Diff line number Diff line change 1- // import expect from ' expect'
2- // import React from ' react'
3- // import {render, unmountComponentAtNode} from ' react-dom'
1+ import expect from " expect"
2+ import React from " react"
3+ import { render , unmountComponentAtNode } from " react-dom"
44
5- // import Component from ' src/'
5+ import FeedbackForm from " src/"
66
7- // describe('Component' , () => {
8- // let node
7+ describe ( "FeedbackForm" , ( ) => {
8+ let node
99
10- // beforeEach(() => {
11- // node = document.createElement(' div' )
12- // })
10+ beforeEach ( ( ) => {
11+ node = document . createElement ( " div" )
12+ } )
1313
14- // afterEach(() => {
15- // unmountComponentAtNode(node)
16- // })
14+ afterEach ( ( ) => {
15+ unmountComponentAtNode ( node )
16+ } )
1717
18- // it(' displays a welcome message' , () => {
19- // render(<Component />, node, () => {
20- // expect(node.innerHTML).toContain(' Welcome to React components' )
21- // })
22- // })
23- // })
18+ // it(" displays a welcome message" , () => {
19+ // render(<FeedbackForm />, node, () => {
20+ // expect(node.innerHTML).toContain(" Welcome to React components" )
21+ // })
22+ // })
23+ } )
You can’t perform that action at this time.
0 commit comments