RSS Amplifier

the codeartist — programmer and engineer based in Berlin · Jun 15, 2022

Disallowed Focussed Tests and how it saved my day

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Today I was about to push a focussed test. A focussed test, you ask? In Jest (and others) one can run only a specific test, by writing it.only(... . Pushing this to production might create some funny or not so funny side effects though. Luckily there is the no-focussed-tests linter rule in eslint-plugin-jest .

Read on koehr.ing

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.