Skip to content

Commit 2afa6a9

Browse files
author
Songkeys
committed
Remove tests
1 parent 3c22452 commit 2afa6a9

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ before_script:
66
- npm --save install
77
script:
88
- npm run build
9-
- npm test
9+
#- npm test
1010
before_install:
1111
- npm install codecov.io coveralls
1212
after_success:
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
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+
})

0 commit comments

Comments
 (0)