workers-sdk/.markdownlint.json
Pete Bacon Darwin f60971bba6
test: improve Windows reliability of e2e tests (#6077)
* test: improve Windows reliability of e2e tests

- `child_process.kill()` doesn't really work on Windows. Using `kill-tree` library instead
- `killAllWranglerDev()` helper could mess up parallel tests since it kills all wrangler/workerd processes regardless of whether they are part of the current test
- `shellac` library has issues on Windows when running background tasks. Using simple `execSync` and `spawn` functions instead
- tightened up the timeouts a bit to avoid long running false negatives
- reworked the helpers to use a class `WranglerE2ETestHelper` rather than the `e2eTest` extension.

* chore: add markdownlint configuration

* test: improve Windows reliability of e2e tests

- `child_process.kill()` doesn't really work on Windows. Using `kill-tree` library instead
- `killAllWranglerDev()` helper could mess up parallel tests since it kills all wrangler/workerd processes regardless of whether they are part of the current test
- `shellac` library has issues on Windows when running background tasks. Using simple `execSync` and `spawn` functions instead
- tightened up the timeouts a bit to avoid long running false negatives
- reworked the helpers to use a class `WranglerE2ETestHelper` rather than the `e2eTest` extension.

* fix mixed intentation in e2e/README.md

* fix mixed intentation in e2e/README.md

* fix mixed intentation in e2e/README.md

* unskip

* fix up README instructions

* Update packages/wrangler/e2e/README.md

Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>

---------

Co-authored-by: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com>
Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
2024-06-26 15:09:52 +01:00

4 lines
37 B