12 Commits
Author SHA1 Message Date
3045e84a06 feat: use the network source architecture (defineNetwork) (#2650)
Co-authored-by: Felmon Fekadu <[email protected]>
Co-authored-by: Felmon Fekadu <[email protected]>
2026-04-06 14:29:03 +02:00
Noritaka KobayashiandGitHub f4af59a3d2 refactor: remove unused import & imported multiple times (#2576) 2025-08-31 12:21:31 +02:00
5996eca1b7 feat: custom request predicate function (#2541)
Co-authored-by: Artem Zakharchenko <[email protected]>
2025-08-30 11:48:08 +02:00
f48f58f241 fix: preserve trailing optional path parameters (#2169)
Co-authored-by: Kai Spencer <[email protected]>
2024-06-01 11:16:09 +02:00
Artem ZakharchenkoandGitHub 106b088d82 fix: resolve relative fetch urls in jsdom (#1999) 2024-01-25 12:24:02 +01:00
Artem ZakharchenkoandGitHub 39305d7322 test: add request formdata file size test (#1995) 2024-01-25 11:24:16 +01:00
Artem ZakharchenkoandGitHub 55de7c2693 chore: remove "node-fetch" (#1864) 2023-11-16 14:07:19 +01:00
Artem ZakharchenkoandGitHub b52490073a test(node): add request blob tests (#1861) 2023-11-16 11:53:18 +01:00
51e2d5047c test: add "application/protobuf" handling test (#1443)
Co-authored-by: Daniel Gollings <[email protected]>
Co-authored-by: Artem Zakharchenko <[email protected]>
2023-11-16 10:21:42 +01:00
Artem ZakharchenkoandGitHub 22da721820 chore: use vitest for tests (#1817) 2023-11-01 13:05:12 +01:00
8c8e959b49 feat!: adopt the global Fetch API (#1436)
Co-authored-by: Frederik Rabøl <[email protected]>
Co-authored-by: Christoph Fricke <[email protected]>
Co-authored-by: Piotr <[email protected]>
Co-authored-by: Kristján Oddsson <[email protected]>
Co-authored-by: thepassle <[email protected]>
Co-authored-by: Kevin Østerkilde <[email protected]>
Co-authored-by: Laryssa Rocha <[email protected]>
Co-authored-by: Matthew Costabile <[email protected]>
2023-10-23 09:45:04 +02:00
62efeb303c chore: use playwright/test for integration tests (#1394)
* chore: add webpack http server

* chore: configure playwright/test

* chore: use "webpack-http-server"

* chore: remove unnecessary configs

* chore: migrate more tests to playwright

* test: migrate more tests to playwright

* chore: migrate even more test to playwright

* chore: enable new tests on ci

* test: mark "response-patching" tests as fixme

* test: migrate graphql tests to playwright

* test: migrating "msw-api" tests to playwright

* chore: migrate "msw-api"

* chore: fixing wrong testing setup

* test: migrate "response-logging" to pw/test

* chore: update "webpack-http-server"

* test: migrate "shared-worker" test to pw/test

* chore: use designated "browser" folder

* chore: add "test:node" script

* chore: split graphql tests

* chore: move "msw-api" to playwright tests

* chore: isolate node integration tests

* chore: resolve test flakiness

* test: use "list" reporter

* chore: update playwright/test

* chore: enable test retries

* chore: use 2 cores for tests on ci

* test(playwright configuration): use fullyParallel flag to isolate tests (#1532)

* test(playwright configuration): use fullyParallel flag to isolate tests

This flag makes playwright run each single test in a separate context in parallel, providing easier
isolation, teardown and better performance when running in parallel in many workers

* test(rest-api and grapghql-api tests): ensure each test has dedicated setup and teardown

Since fullyParallel flag is enabled we should consider each test as independent unit. This changes
make sure each test has separate setup and teardown.

* fix missed hook

* chore: try to ensure clearing of workerConsole

* chore: use esbuild-loader vs ts-loader

* chore: rework worker console, use parallel webpack server

* test(fallback-mode): write to fs on "beforeEach"

* chore: decrease playwright timeout to 10s

* chore: dispose of test compilations

* docs: update contributing guidelines

* chore: skip iframe integration tests

* chore: write runtime console logs

* chore: upload test artifacts

* chore: use "use.trace" from playwright

* test: fix response patching tests

* chore: restore headers-multiple test

* chore: restore iframe tests

---------

Co-authored-by: Maciej Szwarc <[email protected]>
2023-02-19 19:43:30 +01:00