mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Dragon Darts has a variety of mechanics that I don't care to fully write unit tests for, but this commit should track its in-game implementation much more closely. If anyone still has a Dragon Darts interaction that this implementation handles incorrectly, they should confront me about it. Fixes #6279
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run Mocha Tests",
|
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"-g",
|
|
// Make this string non-empty to run only tests whose names match it
|
|
""
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Parse input log (paste in terminal)",
|
|
"program": "${workspaceRoot}/pokemon-showdown",
|
|
"args": ["simulate-battle", "-R"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
]
|
|
}
|