This extension contains common JavaScript testing syntax snippets used by Andrew Smith.
In order to install an extension you need to launch the Command Palette (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions. There you have either the option to show the already installed snippets or install new ones.
- JavaScript (.js)
- TypeScript (.ts)
- JavaScript React (.jsx)
- TypeScript React (.tsx)
before(() => {
$1
});$0beforeEach(() => {
$1
});
$0after(() => {
$1
});$0afterEach(() => {
$1
});$0describe('$1', () => {
$2
});$0context('$1', () => {
$0
});it('$1', () => {
$0
});suite('$1', () => {
$2
});$0suiteSetup(() => {
$1
});$0setup(() => {
$1
});$0suiteTeardown(() => {
$1
});$0teardown(() => {
$1
});$0test('$1', () => {
$2
});