Skip to content

Commit

Permalink
Update 10-testing.mdx (#55801)
Browse files Browse the repository at this point in the history
Made changes as suggested by the reporter. 

```json filename="tsconfig.json or jsconfig.json"
{
  "compilerOptions": {
    "module": "esnext",
    "moduleResolution": "node",
    "baseUrl": "./",
    "paths": {
      "@/components/*": ["components/*"]
    }
  }
}
```

```json filename="package.json"
{
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "cypress:open": "cypress open"
  }
}
```
  • Loading branch information
sdkdeepa committed Sep 23, 2023
1 parent ce42a99 commit d5db4d3
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -43,7 +43,7 @@ Add Cypress to the `package.json` scripts field:
"dev": "next dev",
"build": "next build",
"start": "next start",
"cypress": "cypress open"
"cypress:open": "cypress open"
}
}
```
Expand Down Expand Up @@ -446,7 +446,9 @@ If your project is using [Module Path Aliases](/docs/pages/building-your-applica
```json filename="tsconfig.json or jsconfig.json"
{
"compilerOptions": {
"baseUrl": ".",
"module": "esnext",
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"@/components/*": ["components/*"]
}
Expand Down

0 comments on commit d5db4d3

Please sign in to comment.