Skip to content

Commit

Permalink
Add options to show chrome while testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fiveNinePlusR committed Oct 12, 2024
1 parent 5c63994 commit c5d1ce8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"name": "Run single test", // will run only the test that is under the current line
"request": "launch",
"program": "bundle exec rspec ${file}:${lineNumber}",
},
{
"type": "ruby_lsp",
"name": "Run rake spec - current file with full chrome",
"request": "launch",
"env": {"NO_HEADLESS_CHROME": "true"},
"program": "bundle exec rspec ${file}",
},
{
"type": "ruby_lsp",
"name": "Run single test - full chrome", // will run only the test that is under the current line
"request": "launch",
"env": {"NO_HEADLESS_CHROME": "true"},
"program": "bundle exec rspec ${file}:${lineNumber}",
}
]
}

0 comments on commit c5d1ce8

Please sign in to comment.