Skip to content

Commit

Permalink
fix: try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ariesjia committed May 6, 2019
1 parent b3afa6e commit 64ab548
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "8"
- "12"

before_script:
- 'yarn build'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-testing-library": "^5.9.0"
"react-testing-library": "^7.0.0"
},
"dependencies": {
"react-testing-library": "^5.9.0"
"react-testing-library": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react"
import { act, render } from 'react-testing-library'
import * as React from "react";

function HookComponent({ hook, updateHook}) {
updateHook(hook())
Expand Down Expand Up @@ -32,7 +32,7 @@ export default (hook: () => any) => {
hook: {
get() {
return currentHook
}
},
}
}),
rerender() {
Expand Down

0 comments on commit 64ab548

Please sign in to comment.