
benmccormick.org/2017/02/26/running-jest-tests-before-each-git-commit
Preview meta tags from the benmccormick.org website.
Linked Hostnames
7- 12 links tobenmccormick.org
- 4 links togithub.com
- 1 link toeslint.org
- 1 link tofacebook.github.io
- 1 link togit-scm.com
- 1 link togohugo.io
- 1 link tomicro.blog
Thumbnail

Search Engine Appearance
Running Jest Tests Before Each Git Commit
My main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
Bing
Running Jest Tests Before Each Git Commit
My main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
DuckDuckGo

Running Jest Tests Before Each Git Commit
My main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
General Meta Tags
10- titleRunning Jest Tests Before Each Git Commit - Herding Lions
- charsetutf-8
- X-UA-CompatibleIE=edge
- viewportwidth=device-width, initial-scale=1, shrink-to-fit=no
- descriptionMy main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
Open Graph Meta Tags
6- og:titleRunning Jest Tests Before Each Git Commit
- og:descriptionMy main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
- og:typearticle
- og:urlhttps://benmccormick.org/2017/02/26/180000.html
- og:imagehttps://benmccormick.micro.blog/uploads/2022/6ca3a124f1.png
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:imagehttps://benmccormick.micro.blog/uploads/2022/6ca3a124f1.png
- twitter:titleRunning Jest Tests Before Each Git Commit
- twitter:descriptionMy main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
Item Prop Meta Tags
8- nameRunning Jest Tests Before Each Git Commit
- descriptionMy main work project makes heavy use of Jest to test our JavaScript code. For a while now I’ve wanted to set up a way to run tests every time I run a commit. I knew that git provides hooks that allow scripting actions to occur before or after any commit or push, and in fact we were already using a pre-commit hook script to lint our code with ESLint. But it was non-obvious how to make that work well with Jest testing.
- datePublished2017-02-26T18:00:00-05:00
- dateModified2022-12-03T20:47:33-05:00
- wordCount1087
Link Tags
16- apple-touch-iconhttps://micro.blog/benmccormick/favicon.png
- authorization_endpointhttps://micro.blog/indieauth/auth
- mehttps://micro.blog/benmccormick
- micropubhttps://micro.blog/micropub
- microsubhttps://micro.blog/microsub
Links
21- http://eslint.org
- https://benmccormick.org
- https://benmccormick.org/2017/02/18/183000.html
- https://benmccormick.org/2017/02/26/180000.html
- https://benmccormick.org/2017/03/28/094000.html