-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
area: docsImprovements or additions to documentationImprovements or additions to documentation
Description
What is the improvement or update you wish to see?
I encountered a syntax error on the TurboRepo website due to invalid package.json formatting. Specifically, the object properties are missing commas between them. Here's the problematic code:
{ "name": "web" "scripts": { "test": "jest", "test:watch": "jest --watch" } "devDependencies": { "jest": "latest" } }
Is there any context that might help us understand?
Each key-value pair in a JSON object must be separated by a comma. In this case, a comma is missing:
After "name": "web"
After the scripts block
This results in a JSON parsing error.
Please update the file to:
{ "name": "web", "scripts": { "test": "jest", "test:watch": "jest --watch" }, "devDependencies": { "jest": "latest" } }
Does the docs page already exist? Please link to it.
https://turborepo.com/docs/guides/tools/jest#running-tests-in-watch-mode
Metadata
Metadata
Assignees
Labels
area: docsImprovements or additions to documentationImprovements or additions to documentation