Skip to content

Commit a2b9c3e

Browse files
authored
clarify test file location - closes #8052 (#8068)
1 parent f47258c commit a2b9c3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/docs/10-getting-started/30-project-structure.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@ The `src` directory contains the meat of your project.
5353

5454
You can use `.ts` files instead of `.js` files, if using TypeScript.
5555

56+
If you added [Vitest](https://vitest.dev) when you set up your project, your unit tests will live in the `src` directory with a `.test.js` (or `.test.ts`) extension.
57+
5658
### static
5759

5860
Any static assets that should be served as-is, like `robots.txt` or `favicon.png`, go in here.
5961

6062
### tests
6163

62-
If you chose to add tests to your project during `npm create svelte@latest`, they will live in this directory.
64+
If you added [Playwright](https://playwright.dev/) for browser testing when you set up your project, the tests will live in this directory.
6365

6466
### package.json
6567

0 commit comments

Comments
 (0)