Commit Graph

22 Commits

Author SHA1 Message Date
Brandon Chinn 41133b526d
Only match relative paths when specifying paths (#12519)
Co-authored-by: Brandon Chinn <brandonchinn178@gmail.com>
2023-10-03 07:56:50 +02:00
Frazer Smith 49bacb9620
chore: update jest repo organisation in urls (#14413) 2023-08-15 15:00:44 +02:00
Daniel Li 43b91ff0a9
docs: correct line numbers in GH links (#13475) 2022-10-25 08:39:18 +02:00
paulreece 6be272b431
docs: watch admonitions (#13310) 2022-10-01 01:15:01 +02:00
Tom Mrazauskas fb1c53deac
feat(jest-config)!: remove undocumented `collectCoverageOnlyFrom` option (#13156) 2022-08-22 09:43:30 +02:00
Joshua Chen 7b857d5dba
docs: move codeblock title to props & use line highlight (#11991) 2021-10-24 10:01:50 +02:00
Sébastien Lorber f73d5f6372
Jest Website v2 (#11149) 2021-03-11 17:57:06 +01:00
Bogdan 0d1c09cc54
docs: replace angle brackets to quotes (#10328) 2020-07-28 13:16:10 +02:00
Bogdan 966f22f2a0 Docs: fix broken anchor links (#9247)
* Docs: fix broken anchor links

* Docs: fix links from Configuration.md
2019-12-01 17:45:16 +00:00
Felipe Lima 867b518e25 Docs: Fix WatchPlugins `jestHooks.shouldRunTestSuite` example t… (#8784)
* Update CHANGELOG.md

* Fix WatchPlugins jestHooks.shouldRunTestSuite docs

* Update CHANGELOG.md
2019-08-11 19:01:45 +02:00
Simen Bekkhus 842f38980d
chore: migrate jest-watcher to TypeScript (#7843) 2019-02-10 10:47:18 +01:00
Bryan Nicholls 3e805bc082 allow `bail` setting to control when to bail out of a failing test run (#7335) 2018-12-06 09:48:10 -08:00
Christophe Porteneuve f8f966b300 Check watch plugins for key conflicts (#6697)
## Summary

Watch plugins now are checked for key conflicts…

- Some built-in keys remain overridable (specificically `t` and `p`).
- Any key registered by a third-party watch plugin cannot be overridden by one listed later in the plugins list config.

Fixes #6693.
Refs #6473.

## Test plan

Additional tests are provided that check every conflict / overwritable scenario discussed.

## Request for feedback / “spec” evolution

The “spec” is an ongoing discussion in #6693 — in particular, the overwritability of some built-in keys, such as `a`, `f` and `o`, may be subject to discussion. This PR tracks the decisions in there and may evolve a bit still.

Ping @SimenB @thymikee @rogeliog for review and discussion.
2018-08-09 12:12:11 +02:00
TAKAHASHI Shuuji 21b81a1c0d Typo fix: Remove a duplicated ')' (#6816) 2018-08-09 11:44:18 +02:00
Christophe Porteneuve 6c61baa76e Feature: broader uses for watch plugins (#6473)
* Allow WatchPlugins access to a broader list of global config options

Refs #6467

* Tests for whitelisting config options in WatchPlugins

* Docs on allowed config options in WatchPlugins

* chore: Changelog

* tests: leverage it.each to clean up code

* refactor: centralize config update logic

* Update plugin test to use new signature for configs

* Refactor watch extensions as per PR review (#6473)
2018-07-12 08:27:07 +02:00
Rogelio Guzman de21fd428f Allow watch plugin to be configured (#6603) 2018-07-03 18:47:11 +02:00
madeleinemila 05dc03bc84 Update WatchPlugins.md with how to add watch plugin to config (#6409) 2018-06-07 10:37:08 +02:00
Simen Bekkhus 6ad3f848cf
upgrade prettier (#6344) 2018-05-30 20:30:20 +02:00
Simen Bekkhus 6eeadab63b stop wrapping markdown (#6299) 2018-05-27 01:16:17 +01:00
Rick Hanlon II 3d127ff142 Fix watch mode docs (utf 8 now) (#6297) 2018-05-26 22:43:25 +01:00
Michał Pierzchała 3089fcb1d3 Overhaul watch plugin hooks names (#6249)
* Overhaul watch plugin hooks names

* Update docs

* update changelog
2018-05-24 16:34:48 +01:00
Rogelio Guzman c52d925c55 Add documentation for watch plugins (#5895) 2018-05-24 17:11:31 +02:00