From 8712024f3a036022dd91806553b5b6961785c154 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 4 Feb 2025 08:37:47 +0100 Subject: [PATCH] enum --- docs/src/mock.md | 2 +- tests/playwright-test/playwright.mockingproxy.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/mock.md b/docs/src/mock.md index bf6f57a183..bbb38564af 100644 --- a/docs/src/mock.md +++ b/docs/src/mock.md @@ -568,7 +568,7 @@ To get started, enable the `mockingProxy` option in your Playwright config: ```js export default defineConfig({ - use: { mockingProxy: true } + use: { mockingProxy: "inject-via-header" } }); ``` diff --git a/tests/playwright-test/playwright.mockingproxy.spec.ts b/tests/playwright-test/playwright.mockingproxy.spec.ts index 51a3636402..aecfc26a49 100644 --- a/tests/playwright-test/playwright.mockingproxy.spec.ts +++ b/tests/playwright-test/playwright.mockingproxy.spec.ts @@ -21,7 +21,7 @@ const config = { 'playwright.config.ts': ` module.exports = { use: { - mockingProxy: true, + mockingProxy: "inject-via-header", ignoreHTTPSErrors: true, } };