From da2f1970b9bcc81abff43cc25c48d52870cfa6f2 Mon Sep 17 00:00:00 2001 From: robertgr991 Date: Thu, 27 Apr 2023 15:37:14 +0300 Subject: [PATCH] docs(config): add "includeSource" option (#3199) --- docs/config/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/config/index.md b/docs/config/index.md index 27454edbfa01..566e8ed3b951 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -92,6 +92,15 @@ Files to include in the test run, using glob pattern. Files to exclude from the test run, using glob pattern. +### includeSource + +- **Type:** `string[]` +- **Default:** `[]` + +Include globs for in-source test files. + +When defined, Vitest will run all matched files with `import.meta.vitest` inside. + ### deps - **Type:** `{ external?, inline?, ... }`