Skip to content

A minimalist vscode extension that adds a command to toggle Mocha `it.only` to the test the cursor is in

Notifications You must be signed in to change notification settings

maxlath/vscode-only-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-only-test

A VSCode/VSCodium extension to that adds a command to toggle Mocha it.only to the test the cursor is in.

Install

cd ~/.vscode/extensions
git clone https://github.com/maxlath/vscode-only-test

This command can then be bound to a shortkey, by adding the shortkey to keybindings.json (in my set up, can be found at in ~/.config/VSCodium/User):

{
    "key": "ctrl+shift+alt+o",
    "command": "only-test.toggle"
}

About

A minimalist vscode extension that adds a command to toggle Mocha `it.only` to the test the cursor is in

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published