Jest · Pipe
testMatch
Jest runs JavaScript and related tests. Install it, add a test script, write a test with expect and a matcher, then run the script.
Last updated
Syntax
test(name, fn); expect(value).toBe(expected);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Using MatcherstestRegextestPathIgnorePatternsautomockrandomizeprojects