Add code snippets for generating a test block with unique keys.
Requirements
vscode >= v1.53.0
How to Install
To install the extension you can run Command Pallete through the command Ctrl + Shift + P or Cmd + Shift + P , type Install Extensions and finally hit Enter, then search for Generator Test Block, install and enjoy.
Supported Languages
JavaScript (.js)
TypeScript (.ts)
Commands
Command
Description
_describe
Generate a describe test block
_it
Generate an it test block with an unique key
_beforeEach
Generate a beforeEach test block
_beforeAll
Generate a beforeAll test block
_afterEach
Generate an afterEach test block
_afterAll
Generate an afterAll test block
_describe.each
Generate a describe.each test block
How to use
Go to an empty line or a selected text and type a command snippet (e.g: _it).