cleaned up debugging and testing
This commit is contained in:
1 parent
b368be0ff4
commit
3314d111d6
4 files changed
+2258
-62520
No files matched your search
Vendored
+13
-44
@@ -2,55 +2,24 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Debug Tests Single Run",
|
"name": "Debug CRA Tests",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
|
||||||
|
"args": [
|
||||||
|
"test",
|
||||||
|
"--runInBand",
|
||||||
|
"--no-cache",
|
||||||
|
"--watchAll=false"
|
||||||
|
],
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"protocol": "inspector",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen",
|
||||||
"env": {
|
"env": {
|
||||||
"CI": "true"
|
"CI": "true"
|
||||||
},
|
},
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
|
"disableOptimisticBPs": true
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"--runInBand",
|
|
||||||
"--no-cache"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"protocol": "inspector",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"internalConsoleOptions": "neverOpen"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Debug tests watch mode",
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"--runInBand",
|
|
||||||
"--no-cache",
|
|
||||||
"--watchAll"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"protocol": "inspector",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"internalConsoleOptions": "neverOpen"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Debug tests opened file",
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"${fileBasenameNoExtension}",
|
|
||||||
"--runInBand",
|
|
||||||
"--no-cache",
|
|
||||||
"--watchAll"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"protocol": "inspector",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"internalConsoleOptions": "neverOpen"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Generated
-60992
File diff suppressed because it is too large.
Load diff
+5
-3
@@ -24,6 +24,7 @@
|
|||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"storybook": "start-storybook -p 6006 -s public",
|
"storybook": "start-storybook -p 6006 -s public",
|
||||||
"build-storybook": "build-storybook -s public"
|
"build-storybook": "build-storybook -s public"
|
||||||
@@ -57,9 +58,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@testing-library/jest-dom": "^5.11.4",
|
|
||||||
"@testing-library/react": "^11.1.0",
|
|
||||||
"@testing-library/user-event": "^12.1.10",
|
|
||||||
"@storybook/addon-actions": "^6.3.12",
|
"@storybook/addon-actions": "^6.3.12",
|
||||||
"@storybook/addon-essentials": "^6.3.12",
|
"@storybook/addon-essentials": "^6.3.12",
|
||||||
"@storybook/addon-links": "^6.3.12",
|
"@storybook/addon-links": "^6.3.12",
|
||||||
@@ -67,8 +65,12 @@
|
|||||||
"@storybook/node-logger": "^6.3.12",
|
"@storybook/node-logger": "^6.3.12",
|
||||||
"@storybook/preset-create-react-app": "^3.2.0",
|
"@storybook/preset-create-react-app": "^3.2.0",
|
||||||
"@storybook/react": "^6.3.12",
|
"@storybook/react": "^6.3.12",
|
||||||
|
"@testing-library/jest-dom": "^5.11.4",
|
||||||
|
"@testing-library/react": "^11.1.0",
|
||||||
|
"@testing-library/user-event": "^12.1.10",
|
||||||
"@types/chroma-js": "^2.1.3",
|
"@types/chroma-js": "^2.1.3",
|
||||||
"@types/js-yaml": "^4.0.5",
|
"@types/js-yaml": "^4.0.5",
|
||||||
|
"jest-environment-jsdom": "^27.5.1",
|
||||||
"ts-node": "^10.4.0"
|
"ts-node": "^10.4.0"
|
||||||
},
|
},
|
||||||
"moduleDirectories": [
|
"moduleDirectories": [
|
||||||
|
|||||||
+2240
-1481
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user