Jest Snippets installs statistics
By andys8 · VS Code Marketplace · Snippets
Code snippets for testing framework Jest
Jest Snippets has 440,946 recorded installs on VS Code Marketplace, ranking #906 of 2,502 tracked listings.
Rating: 5.00 / 5 from 10 ratings
About Jest Snippets
vscode-jest-snippets
Jest snippets extension for Visual Studio Code.
Snippets
Below is a list of all available snippets and the triggers of each one. The → means the TAB key.
Globals
| Trigger | Content |
|---|---|
desc→ | describe |
desco→ | describe.only |
descs→ | describe.skip |
desce→ | describe.each |
ae→ | afterEach |
aea→ | afterEach(async ...) |
aa→ | afterAll |
aaa→ | afterAll(async ...) |
be→ | beforeEach |
bea→ | beforeEach(async ...) |
ba→ | beforeAll |
baa→ | beforeAll(async ...) |
Tests
| Trigger | Content |
|---|---|
it→ | it |
ito→ | it.only |
its→ | it.skip |
itt→ | it.todo |
ite→ | it.each |
ita→ | it(..., async ...) |
test→ | test |
testo→ | test.only |
tests→ | test.skip |
testt→ | test.todo |
teste→ | test.each |
testet→ | test.each (table) |
testa→ | test(..., async ...) |
Expect
| Trigger | Content |
|---|---|
exp→ | expect |
expr→ | expect.resolves |
exprj→ | expect.rejects |
expas→ | expect.assertions(count) |
expha→ | expect.hasAssertions() |
tb→ | toBe |
tbct→ | toBeCloseTo |
tbd→ | toBeDefined |
tbf→ | toBeFalsy |
tbgt→ | toBeGreaterThan |
tbgte→ | toBeGreaterThanOrEqual |
tbi→ | toBeInstanceOf |
tblt→ | toBeLessThan |
tblte→ | toBeLessThanOrEqual |
tbn→ | toBeNull |
tbt→ | toBeTruthy |
tbu→ | toBeUndefined |
tc→ | toContain |
tce→ | toContainEqual |
te→ | toEqual |
tse→ | toStrictEqual |
thbc→ | toHaveBeenCalled |
thbct→ | toHaveBeenCalledTimes |
thbcw→ | toHaveBeenCalledWith |
thblcw→ | toHaveBeenLastCalledWith |
thbncw→ | toHaveBeenNthCalledWith |
thl→ | toHaveLength |
thlrw→ | toHaveLastReturnedWith |
thnrw→ | toHaveNthReturnedWith |
thp→ | toHaveProperty |
thr→ | toHaveReturned |
thrt→ | toHaveReturnedTimes |
thrw→ | toHaveReturnedWith |
tm→ | toMatch |
tmo→ | toMatchObject |
tms→ | toMatchSnapshot |
tmis→ | toMatchInlineSnapshot |
tt→ | toThrow |
ttems→ | toThrowErrorMatchingSnapshot |
ttemis→ | toThrowErrorMatchingInlineSnapshot |
Templates
| Trigger | Content |
|---|---|
cut→ | test a class under test |
jfn→ | jest.fn |
jso→ | jest.spyOn |
Settings
The editor.snippetSuggestions setting in vscode settings.json will show snippets on top of the suggestion list.
"editor.snippetSuggestions": "top"
Credits
- Thanks to xabikos for vscode-jasmine
- Thanks to martinlechner1 for initial contributions
- Thanks to all contributors
Description from the VS Code Marketplace listing.
- snippet
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (6)Similar VS Code Marketplace Snippets plugins
All 20 Jest Snippets alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=andys8.jest-snippets. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.