Skip to content

Commit

Permalink
fix bug in test template.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgarropy committed Jun 21, 2021
1 parent 1694b5b commit 54533cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bradgarropy/plop-generator-react-hook",
"version": "0.0.1",
"version": "0.0.2",
"description": "💧 plop generator react hook",
"keywords": [
"node",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/test.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {renderHook} from "@testing-library/react-hooks"
import {{camelCase name}} from "hooks"
import {{{camelCase name}}} from "hooks"

test("renders hook", () => {
const {result} = renderHook(() => {{camelCase name}}())
Expand Down

0 comments on commit 54533cb

Please sign in to comment.