diff --git a/package.json b/package.json index 4180365..a92ffbf 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "husky": { "hooks": { - "pre-commit": "lint-staged && pretty-quick --staged && npm test" + "pre-push": "npm run lint && npm test" } } } diff --git a/src/App.test.tsx b/src/App.test.tsx index d393ef3..2847716 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -1,5 +1,5 @@ import { render, screen } from '@testing-library/react'; - +import React from 'react'; import App from './App'; describe('App', () => {