Skip to content

Commit

Permalink
fix: login and signup component unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kgajera committed Jun 18, 2021
1 parent f784dac commit 55f5353
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/create-bison-app/template/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
"@graphql-codegen/typescript-operations": "^1.18.0",
"@graphql-codegen/typescript-react-apollo": "^2.2.5",
"@graphql-codegen/typescript-resolvers": "^1.19.2",
"@testing-library/cypress": "^7.0.2",
"@testing-library/dom": "^7.21.7",
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^10.4.7",
"@testing-library/user-event": "^12.0.17",
"@testing-library/cypress": "^7.0.6",
"@testing-library/dom": "^7.31.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.1.9",
"@types/bcryptjs": "^2.4.2",
"@types/chance": "^1.1.1",
"@types/jest": "^26.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-bison-app/template/tests/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ const mockRouter: NextRouter = {
replace: jest.fn(),
reload: jest.fn(),
back: jest.fn(),
prefetch: jest.fn(),
beforePopState: jest.fn(),
prefetch: jest.fn(() => Promise.resolve()),
events: {
on: jest.fn(),
off: jest.fn(),
Expand Down

0 comments on commit 55f5353

Please sign in to comment.