Skip to content

Commit

Permalink
docs: make definition clearer in workspace guide (#4926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Metehan-Altuntekin authored Jan 10, 2024
1 parent c4eacbb commit 9ec3f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Vitest provides built-in support for monorepos through a workspace configuration

A workspace should have a `vitest.workspace` or `vitest.projects` file in its root (in the same folder as your config file if you have one). Vitest supports `ts`/`js`/`json` extensions for this file.

Workspace configuration file should have a default export with a list of files or glob patterns referencing your projects. For example, if you have a folder with your projects named `packages`, you can define a workspace with this config file:
Workspace configuration file should have a default export with a list of files or glob patterns referencing your projects. For example, if you have a folder named `packages` that contains your projects, you can define a workspace with this config file:

:::code-group
```ts [vitest.workspace.ts]
Expand Down

0 comments on commit 9ec3f74

Please sign in to comment.