From a4ac2fe44d33f48af563522fdf3680e271210c90 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Fri, 3 Jan 2025 12:47:45 +0100 Subject: [PATCH] docs: fix small typos (#7163) --- .vscode/settings.json | 3 ++- docs/advanced/api/vitest.md | 2 +- docs/guide/browser/config.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8da1bd8263a0..f7ee9a14c200 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -45,5 +45,6 @@ "json", "jsonc", "yaml" - ] + ], + "testing.automaticallyOpenTestResults": "neverOpen" } diff --git a/docs/advanced/api/vitest.md b/docs/advanced/api/vitest.md index ad6861e9b98f..dd682a0f3d6f 100644 --- a/docs/advanced/api/vitest.md +++ b/docs/advanced/api/vitest.md @@ -317,7 +317,7 @@ This method doesn't trigger `onWatcherRerun`, `onWatcherStart` and `onTestsRerun ## rerunTestSpecifications ```ts -function runTestSpecifications( +function rerunTestSpecifications( specifications: TestSpecification[], allTestsRun = false ): Promise diff --git a/docs/guide/browser/config.md b/docs/guide/browser/config.md index e71099de3667..5d4cfcfc2acc 100644 --- a/docs/guide/browser/config.md +++ b/docs/guide/browser/config.md @@ -101,7 +101,7 @@ List of available `browser` options: - [`browser.screenshotDirectory`](#browser-screenshotdirectory) - [`browser.screenshotFailures`](#browser-screenshotfailures) -By default, Vitest creates an array with a single element which uses the [`browser.name`](#browser-name) field as a `browser`. Note that this behaviour will be removed with Vitets 4. +By default, Vitest creates an array with a single element which uses the [`browser.name`](#browser-name) field as a `browser`. Note that this behaviour will be removed with Vitest 4. Under the hood, Vitest transforms these instances into separate [test projects](/advanced/api/test-project) sharing a single Vite server for better caching performance.