You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/10-getting-started/30-project-structure.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,15 @@ The `src` directory contains the meat of your project.
53
53
54
54
You can use `.ts` files instead of `.js` files, if using TypeScript.
55
55
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
+
56
58
### static
57
59
58
60
Any static assets that should be served as-is, like `robots.txt` or `favicon.png`, go in here.
59
61
60
62
### tests
61
63
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.
0 commit comments