Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No vitest in current create-sst as referenced in docs #3781

Open
timkinnane opened this issue Jun 6, 2024 · 0 comments
Open

No vitest in current create-sst as referenced in docs #3781

timkinnane opened this issue Jun 6, 2024 · 0 comments

Comments

@timkinnane
Copy link

The below seems incorrect for the current state of create-sst. There's no vitest config created and no test script in package.json.

sst/www/docs/testing.md

Lines 39 to 51 in 5caf568

If you created your app with `create-sst` a [Vitest](https://vitest.dev/config/) config is added for you, with a test script in your `package.json`:
```json {8} title="package.json"
"scripts": {
"dev": "sst dev",
"build": "sst build",
"deploy": "sst deploy",
"remove": "sst remove",
"console": "sst console",
"typecheck": "tsc --noEmit",
"test": "sst bind vitest run"
},
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant