17 Commits
Author SHA1 Message Date
a16bdbb1a7 fix: use verbatimModuleSyntax consistently in exports (#2702)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-04-16 17:50:30 +02:00
8d9482ccf7 fix(GraphQL): support application/graphql-response+json response content-type (#2513)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-17 12:03:25 +01:00
Artem ZakharchenkoandGitHub f8866c181c fix(graphql): support TypedDocumentString as request predicate (#2646) 2025-12-27 19:43:16 +01:00
Artem ZakharchenkoandGitHub 03adcad4d3 fix(graphql): remove redundant DocumentNode union (#2645) 2025-12-27 16:32:26 +01:00
Artem ZakharchenkoandGitHub 797d916238 fix: use cookie directly via a shim (#2606) 2025-10-08 16:48:41 +02:00
5996eca1b7 feat: custom request predicate function (#2541)
Co-authored-by: Artem Zakharchenko <[email protected]>
2025-08-30 11:48:08 +02:00
Artem ZakharchenkoandGitHub 40516279c6 chore: update to vitest@2 (#2379) 2024-12-05 08:28:15 +01:00
Artem ZakharchenkoandGitHub 34c3e2b68b fix: prevent infinite loop when bypassing sendBeacon() requests (#2353) 2024-11-10 22:07:07 +01:00
Artem ZakharchenkoandGitHub 44f5b7209c fix: update @bundled-es-modules/cookie to 2.0.1 (#2312) 2024-11-07 13:24:15 +01:00
Artem ZakharchenkoandGitHub 59d7e2ad84 fix: export "getResponse" for batched GraphQL queries (#1982) 2024-01-21 12:59:56 +01:00
Artem ZakharchenkoandGitHub bff242e459 chore: upgrade dependencies (#1966) 2024-01-15 12:00:45 +01:00
Artem ZakharchenkoandGitHub 55de7c2693 chore: remove "node-fetch" (#1864) 2023-11-16 14:07:19 +01:00
Artem ZakharchenkoandGitHub f64f600563 fix(GraphQL): expose request cookies in "cookies" argument (#1853) 2023-11-12 16:50:48 +01:00
e9d7ef9f02 fix: correct docs link for anonymous GraphQL operations (#1850)
Co-authored-by: Artem Zakharchenko <[email protected]>
2023-11-10 19:59:05 +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