You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/public/docs/jest/index.json

1 line
22 KiB

{"entries":[{"name":".not","path":"expect#not","type":"Expect"},{"name":".rejects","path":"expect#rejects","type":"Expect"},{"name":".resolves","path":"expect#resolves","type":"Expect"},{"name":".toBe()","path":"expect#tobevalue","type":"Expect"},{"name":".toBeCloseTo()","path":"expect#tobeclosetonumber-numdigits","type":"Expect"},{"name":".toBeDefined()","path":"expect#tobedefined","type":"Expect"},{"name":".toBeFalsy()","path":"expect#tobefalsy","type":"Expect"},{"name":".toBeGreaterThan()","path":"expect#tobegreaterthannumber","type":"Expect"},{"name":".toBeGreaterThanOrEqual()","path":"expect#tobegreaterthanorequalnumber","type":"Expect"},{"name":".toBeInstanceOf()","path":"expect#tobeinstanceofclass","type":"Expect"},{"name":".toBeLessThan()","path":"expect#tobelessthannumber","type":"Expect"},{"name":".toBeLessThanOrEqual()","path":"expect#tobelessthanorequalnumber","type":"Expect"},{"name":".toBeNull()","path":"expect#tobenull","type":"Expect"},{"name":".toBeTruthy()","path":"expect#tobetruthy","type":"Expect"},{"name":".toBeUndefined()","path":"expect#tobeundefined","type":"Expect"},{"name":".toContain()","path":"expect#tocontainitem","type":"Expect"},{"name":".toContainEqual()","path":"expect#tocontainequalitem","type":"Expect"},{"name":".toEqual()","path":"expect#toequalvalue","type":"Expect"},{"name":".toHaveBeenCalled()","path":"expect#tohavebeencalled","type":"Expect"},{"name":".toHaveBeenCalledTimes()","path":"expect#tohavebeencalledtimesnumber","type":"Expect"},{"name":".toHaveBeenCalledWith()","path":"expect#tohavebeencalledwitharg1-arg2-","type":"Expect"},{"name":".toHaveBeenLastCalledWith()","path":"expect#tohavebeenlastcalledwitharg1-arg2-","type":"Expect"},{"name":".toHaveBeenNthCalledWith()","path":"expect#tohavebeennthcalledwithnthcall-arg1-arg2-","type":"Expect"},{"name":".toHaveLastReturnedWith()","path":"expect#tohavelastreturnedwithvalue","type":"Expect"},{"name":".toHaveLength()","path":"expect#tohavelengthnumber","type":"Expect"},{"name":".toHaveNthReturnedWith()","path":"expect#tohaventhreturnedwithnthcall-value","type":"Expect"},{"name":".toHaveProperty()","path":"expect#tohavepropertykeypath-value","type":"Expect"},{"name":".toHaveReturned()","path":"expect#tohavereturned","type":"Expect"},{"name":".toHaveReturnedTimes()","path":"expect#tohavereturnedtimesnumber","type":"Expect"},{"name":".toHaveReturnedWith()","path":"expect#tohavereturnedwithvalue","type":"Expect"},{"name":".toMatch()","path":"expect#tomatchregexporstring","type":"Expect"},{"name":".toMatchInlineSnapshot()","path":"expect#tomatchinlinesnapshotpropertymatchers-inlinesnapshot","type":"Expect"},{"name":".toMatchObject()","path":"expect#tomatchobjectobject","type":"Expect"},{"name":".toMatchSnapshot()","path":"expect#tomatchsnapshotpropertymatchers-snapshotname","type":"Expect"},{"name":".toStrictEqual()","path":"expect#tostrictequalvalue","type":"Expect"},{"name":".toThrow()","path":"expect#tothrowerror","type":"Expect"},{"name":".toThrowErrorMatchingInlineSnapshot()","path":"expect#tothrowerrormatchinginlinesnapshot","type":"Expect"},{"name":".toThrowErrorMatchingSnapshot()","path":"expect#tothrowerrormatchingsnapshot","type":"Expect"},{"name":"afterAll()","path":"api#afterallfn-timeout","type":"Globals"},{"name":"afterEach()","path":"api#aftereachfn-timeout","type":"Globals"},{"name":"An Async Example","path":"tutorial-async","type":"Guides"},{"name":"beforeAll()","path":"api#beforeallfn-timeout","type":"Globals"},{"name":"beforeEach()","path":"api#beforeeachfn-timeout","type":"Globals"},{"name":"Config: automock","path":"configuration#automock-boolean","type":"Configuring Jest"},{"name":"Config: bail","path":"configuration#bail-boolean","type":"Configuring Jest"},{"name":"Config: browser","path":"configuration#browser-boolean","type":"Configuring Jest"},{"name":"Config: cacheDirectory","path":"configuration#cachedirectory-string","type":"Configuring Jest"},{"name":"Config: clearMocks","path":"configuration#clearmocks-boolean","type":"Configuring Jest"},{"name":"Config: collectCoverage","path":"configuration#collectcoverage-boolean","type":"Configuring Jest"},{"name":"Config: collectCoverageFrom","path":"configuration#collectcoveragefrom-array","type":"Configuring Jest"},{"name":"Config: coverageDirectory","path":"configuration#coveragedirectory-string","type":"Configuring Jest"},{"name":"Config: coveragePathIgnorePatterns","path":"configuration#coveragepathignorepatterns-array-string","type":"Configuring Jest"},{"name":"Config: coverageReporters","path":"configuration#coveragereporters-array-string","type":"Configuring Jest"},{"name":"Config: coverageThreshold","path":"configuration#coveragethreshold-object","type":"Configuring Jest"},{"name":"Config: errorOnDeprecated","path":"configuration#errorondeprecated-boolean","type":"Configuring Jest"},{"name":"Config: forceCoverageMatch","path":"configuration#forcecoveragematch-array-string","type":"Configuring Jest"},{"name":"Config: globals","path":"configuration#globals-object","type":"Configuring Jest"},{"name":"Config: globalSetup","path":"configuration#globalsetup-string","type":"Configuring Jest"},{"name":"Config: globalTeardown","path":"configuration#globalteardown-string","type":"Configuring Jest"},{"name":"Config: moduleDirectories","path":"configuration#moduledirectories-array-string","type":"Configuring Jest"},{"name":"Config: moduleFileExtensions","path":"configuration#modulefileextensions-array-string","type":"Configuring Jest"},{"name":"Config: moduleNameMapper","path":"configuration#modulenamemapper-object-string-string","type":"Configuring Jest"},{"name":"Config: modulePathIgnorePatterns","path":"configuration#modulepathignorepatterns-array-string","type":"Configuring Jest"},{"name":"Config: modulePaths","path":"configuration#modulepaths-array-string","type":"Configuring Jest"},{"name":"Config: notify","path":"configuration#notify-boolean","type":"Configuring Jest"},{"name":"Config: notifyMode","path":"configuration#notifymode-string","type":"Configuring Jest"},{"name":"Config: preset","path":"configuration#preset-string","type":"Configuring Jest"},{"name":"Config: prettierPath","path":"configuration#prettierpath-string","type":"Configuring Jest"},{"name":"Config: projects","path":"configuration#projects-array-string-projectconfig","type":"Configuring Jest"},{"name":"Config: reporters","path":"configuration#reporters-array-modulename-modulename-options","type":"Configuring Jest"},{"name":"Config: resetMocks","path":"configuration#resetmocks-boolean","type":"Configuring Jest"},{"name":"Config: resetModules","path":"configuration#resetmodules-boolean","type":"Configuring Jest"},{"name":"Config: resolver","path":"configuration#resolver-string","type":"Configuring Jest"},{"name":"Config: restoreMocks","path":"configuration#restoremocks-boolean","type":"Configuring Jest"},{"name":"Config: rootDir","path":"configuration#rootdir-string","type":"Configuring Jest"},{"name":"Config: roots","path":"configuration#roots-array-string","type":"Configuring Jest"},{"name":"Config: runner","path":"configuration#runner-string","type":"Configuring Jest"},{"name":"Config: setupFiles","path":"configuration#setupfiles-array","type":"Configuring Jest"},{"name":"Config: setupTestFrameworkScriptFile","path":"configuration#setuptestframeworkscriptfile-string","type":"Configuring Jest"},{"name":"Config: snapshotSerializers","path":"configuration#snapshotserializers-array-string","type":"Configuring Jest"},{"name":"Config: testEnvironment","path":"configuration#testenvironment-string","type":"Configuring Jest"},{"name":"Config: testEnvironmentOptions","path":"configuration#testenvironmentoptions-object","type":"Configuring Jest"},{"name":"Config: testMatch","path":"configuration#testmatch-array-string","type":"Configuring Jest"},{"name":"Config: testPathIgnorePatterns","path":"configuration#testpathignorepatterns-array-string","type":"Configuring Jest"},{"name":"Config: testRegex","path":"configuration#testregex-string","type":"Configuring Jest"},{"name":"Config: testResultsProcessor","path":"configuration#testresultsprocessor-string","type":"Configuring Jest"},{"name":"Config: testRunner","path":"configuration#testrunner-string","type":"Configuring Jest"},{"name":"Config: testURL","path":"configuration#testurl-string","type":"Configuring Jest"},{"name":"Config: timers","path":"configuration#timers-string","type":"Configuring Jest"},{"name":"Config: transform","path":"configuration#transform-object-string-string","type":"Configuring Jest"},{"name":"Config: transformIgnorePatterns","path":"configuration#transformignorepatterns-array-string","type":"Configuring Jest"},{"name":"Config: unmockedModulePathPatterns","path":"configuration#unmockedmodulepathpatterns-array-string","type":"Configuring Jest"},{"name":"Config: verbose","path":"configuration#verbose-boolean","type":"Configuring Jest"},{"name":"Config: watchPathIgnorePatterns","path":"configuration#watchpathignorepatterns-array-string","type":"Configuring Jest"},{"name":"Configuring Jest","path":"configuration","type":"Configuring Jest"},{"name":"describe()","path":"api#describename-fn","type":"Globals"},{"name":"describe.each()","path":"api#describeeachtable-name-fn","type":"Globals"},{"name":"describe.only()","path":"api#describeonlyname-fn","type":"Globals"},{"name":"describe.only.each()","path":"api#describeonlyeachtable-name-fn","type":"Globals"},{"name":"describe.skip()","path":"api#describeskipname-fn","type":"Globals"},{"name":"describe.skip.each()","path":"api#describeskipeachtable-name-fn","type":"Globals"},{"name":"ES6 Class Mocks","path":"es6-class-mocks","type":"Guides"},{"name":"Expect","path":"expect","type":"Expect"},{"name":"expect()","path":"expect#expectvalue","type":"Expect"},{"name":"expect.addSnapshotSerializer()","path":"expect#expectaddsnapshotserializerserializer","type":"Expect"},{"name":"expect.any()","path":"expect#expectanyconstructor","type":"Expect"},{"name":"expect.anything()","path":"expect#expectanything","type":"Expect"},{"name":"expect.arrayContaining()","path":"expect#expectarraycontainingarray","type":"Expect"},{"name":"expect.assertions()","path":"expect#expectassertionsnumber","type":"Expect"},{"name":"expect.extend()","path":"expect#expectextendmatchers","type":"Expect"},{"name":"expect.hasAssertions()","path":"expect#expecthasassertions","type":"Expect"},{"name":"expect.not.arrayContaining()","path":"expect#expectnotarraycontainingarray","type":"Expect"},{"name":"expect.not.objectContaining()","path":"expect#expectnotobjectcontainingobject","type":"Expect"},{"name":"expect.not.stringContaining()","path":"expect#expectnotstringcontainingstring","type":"Expect"},{"name":"expect.not.stringMatching()","path":"expect#expectnotstringmatchingstring-regexp","type":"Expect"},{"name":"expect.objectContaining()","path":"expect#expectobjectcontainingobject","type":"Expect"},{"name":"expect.stringContaining()","path":"expect#expectstringcontainingstring","type":"Expect"},{"name":"expect.stringMatching()","path":"expect#expectstringmatchingstring-regexp","type":"Expect"},{"name":"Globals","path":"api","type":"Globals"},{"name":"jest","path":"cli#jest-regexfortestfiles","type":"Jest CLI Options"},{"name":"jest --bail","path":"cli#bail","type":"Jest CLI Options"},{"name":"jest --cache","path":"cli#cache","type":"Jest CLI Options"},{"name":"jest --changedFilesWithAncestor","path":"cli#changedfileswithancestor","type":"Jest CLI Options"},{"name":"jest --changedSince","path":"cli#changedsince","type":"Jest CLI Options"},{"name":"jest --ci","path":"cli#ci","type":"Jest CLI Options"},{"name":"jest --clearCache","path":"cli#clearcache","type":"Jest CLI Options"},{"name":"jest --collectCoverageFrom","path":"cli#collectcoveragefrom-glob","type":"Jest CLI Options"},{"name":"jest --colors","path":"cli#colors","type":"Jest CLI Options"},{"name":"jest --config","path":"cli#config-path","type":"Jest CLI Options"},{"name":"jest --coverage","path":"cli#coverage","type":"Jest CLI Options"},{"name":"jest --debug","path":"cli#debug","type":"Jest CLI Options"},{"name":"jest --detectOpenHandles","path":"cli#detectopenhandles","type":"Jest CLI Options"},{"name":"jest --env","path":"cli#env-environment","type":"Jest CLI Options"},{"name":"jest --errorOnDeprecated","path":"cli#errorondeprecated","type":"Jest CLI Options"},{"name":"jest --expand","path":"cli#expand","type":"Jest CLI Options"},{"name":"jest --findRelatedTests","path":"cli#findrelatedtests-spaceseparatedlistofsourcefiles","type":"Jest CLI Options"},{"name":"jest --forceExit","path":"cli#forceexit","type":"Jest CLI Options"},{"name":"jest --help","path":"cli#help","type":"Jest CLI Options"},{"name":"jest --init","path":"cli#init","type":"Jest CLI Options"},{"name":"jest --json","path":"cli#json","type":"Jest CLI Options"},{"name":"jest --lastCommit","path":"cli#lastcommit","type":"Jest CLI Options"},{"name":"jest --listTests","path":"cli#listtests","type":"Jest CLI Options"},{"name":"jest --logHeapUsage","path":"cli#logheapusage","type":"Jest CLI Options"},{"name":"jest --maxWorkers","path":"cli#maxworkers-num","type":"Jest CLI Options"},{"name":"jest --noStackTrace","path":"cli#nostacktrace","type":"Jest CLI Options"},{"name":"jest --notify","path":"cli#notify","type":"Jest CLI Options"},{"name":"jest --onlyChanged","path":"cli#onlychanged","type":"Jest CLI Options"},{"name":"jest --outputFile","path":"cli#outputfile-filename","type":"Jest CLI Options"},{"name":"jest --passWithNoTests","path":"cli#passwithnotests","type":"Jest CLI Options"},{"name":"jest --projects","path":"cli#projects-project1-projectn-","type":"Jest CLI Options"},{"name":"jest --reporters","path":"cli#reporters","type":"Jest CLI Options"},{"name":"jest --runInBand","path":"cli#runinband","type":"Jest CLI Options"},{"name":"jest --setupTestFrameworkScriptFile","path":"cli#setuptestframeworkscriptfile-file","type":"Jest CLI Options"},{"name":"jest --showConfig","path":"cli#showconfig","type":"Jest CLI Options"},{"name":"jest --silent","path":"cli#silent","type":"Jest CLI Options"},{"name":"jest --testLocationInResults","path":"cli#testlocationinresults","type":"Jest CLI Options"},{"name":"jest --testNamePattern","path":"cli#testnamepattern-regex","type":"Jest CLI Options"},{"name":"jest --testPathPattern","path":"cli#testpathpattern-regex","type":"Jest CLI Options"},{"name":"jest --testRunner","path":"cli#testrunner-path","type":"Jest CLI Options"},{"name":"jest --updateSnapshot","path":"cli#updatesnapshot","type":"Jest CLI Options"},{"name":"jest --useStderr","path":"cli#usestderr","type":"Jest CLI Options"},{"name":"jest --verbose","path":"cli#verbose","type":"Jest CLI Options"},{"name":"jest --version","path":"cli#version","type":"Jest CLI Options"},{"name":"jest --watch","path":"cli#watch","type":"Jest CLI Options"},{"name":"jest --watchAll","path":"cli#watchall","type":"Jest CLI Options"},{"name":"jest --watchman","path":"cli#watchman","type":"Jest CLI Options"},{"name":"Jest CLI Options","path":"cli","type":"Jest CLI Options"},{"name":"Jest Community","path":"jest-community","type":"Guides: Introduction"},{"name":"Jest Platform","path":"jest-platform","type":"Guides: Introduction"},{"name":"jest.advanceTimersByTime()","path":"jest-object#jestadvancetimersbytimemstorun","type":"The Jest Object"},{"name":"jest.clearAllMocks()","path":"jest-object#jestclearallmocks","type":"The Jest Object"},{"name":"jest.clearAllTimers()","path":"jest-object#jestclearalltimers","type":"The Jest Object"},{"name":"jest.disableAutomock()","path":"jest-object#jestdisableautomock","type":"The Jest Object"},{"name":"jest.doMock()","path":"jest-object#jestdomockmodulename-factory-options","type":"The Jest Object"},{"name":"jest.dontMock()","path":"jest-object#jestdontmockmodulename","type":"The Jest Object"},{"name":"jest.enableAutomock()","path":"jest-object#jestenableautomock","type":"The Jest Object"},{"name":"jest.fn()","path":"jest-object#jestfnimplementation","type":"The Jest Object"},{"name":"jest.genMockFromModule()","path":"jest-object#jestgenmockfrommodulemodulename","type":"The Jest Object"},{"name":"jest.isMockFunction()","path":"jest-object#jestismockfunctionfn","type":"The Jest Object"},{"name":"jest.mock()","path":"jest-object#jestmockmodulename-factory-options","type":"The Jest Object"},{"name":"jest.resetAllMocks()","path":"jest-object#jestresetallmocks","type":"The Jest Object"},{"name":"jest.resetModules()","path":"jest-object#jestresetmodules","type":"The Jest Object"},{"name":"jest.restoreAllMocks()","path":"jest-object#jestrestoreallmocks","type":"The Jest Object"},{"name":"jest.retryTimes()","path":"jest-object#jestretrytimes","type":"The Jest Object"},{"name":"jest.runAllTicks()","path":"jest-object#jestrunallticks","type":"The Jest Object"},{"name":"jest.runAllTimers()","path":"jest-object#jestrunalltimers","type":"The Jest Object"},{"name":"jest.runOnlyPendingTimers()","path":"jest-object#jestrunonlypendingtimers","type":"The Jest Object"},{"name":"jest.setMock()","path":"jest-object#jestsetmockmodulename-moduleexports","type":"The Jest Object"},{"name":"jest.setTimeout()","path":"jest-object#jestsettimeouttimeout","type":"The Jest Object"},{"name":"jest.spyOn()","path":"jest-object#jestspyonobject-methodname","type":"The Jest Object"},{"name":"jest.spyOn()","path":"jest-object#jestspyonobject-methodname-accesstype","type":"The Jest Object"},{"name":"jest.unmock()","path":"jest-object#jestunmockmodulename","type":"The Jest Object"},{"name":"jest.useFakeTimers()","path":"jest-object#jestusefaketimers","type":"The Jest Object"},{"name":"jest.useRealTimers()","path":"jest-object#jestuserealtimers","type":"The Jest Object"},{"name":"Manual Mocks","path":"manual-mocks","type":"Guides"},{"name":"Migrating to Jest","path":"migration-guide","type":"Guides"},{"name":"Mock Functions","path":"mock-function-api","type":"Mock Functions"},{"name":"Mock Functions","path":"mock-functions","type":"Guides: Introduction"},{"name":"mockFn.getMockName()","path":"mock-function-api#mockfngetmockname","type":"Mock Functions"},{"name":"mockFn.mock.calls","path":"mock-function-api#mockfnmockcalls","type":"Mock Functions"},{"name":"mockFn.mock.instances","path":"mock-function-api#mockfnmockinstances","type":"Mock Functions"},{"name":"mockFn.mock.results","path":"mock-function-api#mockfnmockresults","type":"Mock Functions"},{"name":"mockFn.mockClear()","path":"mock-function-api#mockfnmockclear","type":"Mock Functions"},{"name":"mockFn.mockImplementation()","path":"mock-function-api#mockfnmockimplementationfn","type":"Mock Functions"},{"name":"mockFn.mockImplementationOnce()","path":"mock-function-api#mockfnmockimplementationoncefn","type":"Mock Functions"},{"name":"mockFn.mockName()","path":"mock-function-api#mockfnmocknamevalue","type":"Mock Functions"},{"name":"mockFn.mockRejectedValue()","path":"mock-function-api#mockfnmockrejectedvaluevalue","type":"Mock Functions"},{"name":"mockFn.mockRejectedValueOnce()","path":"mock-function-api#mockfnmockrejectedvalueoncevalue","type":"Mock Functions"},{"name":"mockFn.mockReset()","path":"mock-function-api#mockfnmockreset","type":"Mock Functions"},{"name":"mockFn.mockResolvedValue()","path":"mock-function-api#mockfnmockresolvedvaluevalue","type":"Mock Functions"},{"name":"mockFn.mockResolvedValueOnce()","path":"mock-function-api#mockfnmockresolvedvalueoncevalue","type":"Mock Functions"},{"name":"mockFn.mockRestore()","path":"mock-function-api#mockfnmockrestore","type":"Mock Functions"},{"name":"mockFn.mockReturnThis()","path":"mock-function-api#mockfnmockreturnthis","type":"Mock Functions"},{"name":"mockFn.mockReturnValue()","path":"mock-function-api#mockfnmockreturnvaluevalue","type":"Mock Functions"},{"name":"mockFn.mockReturnValueOnce()","path":"mock-function-api#mockfnmockreturnvalueoncevalue","type":"Mock Functions"},{"name":"More Resources","path":"more-resources","type":"Guides: Introduction"},{"name":"require.requireActual()","path":"api#requirerequireactualmodulename","type":"Globals"},{"name":"require.requireMock()","path":"api#requirerequiremockmodulename","type":"Globals"},{"name":"Setup and Teardown","path":"setup-teardown","type":"Guides: Introduction"},{"name":"Snapshot Testing","path":"snapshot-testing","type":"Guides"},{"name":"test()","path":"api#testname-fn-timeout","type":"Globals"},{"name":"test.each()","path":"api#testeachtable-name-fn","type":"Globals"},{"name":"test.only()","path":"api#testonlyname-fn-timeout","type":"Globals"},{"name":"test.only.each()","path":"api#testonlyeachtable-name-fn","type":"Globals"},{"name":"test.skip()","path":"api#testskipname-fn","type":"Globals"},{"name":"test.skip.each()","path":"api#testskipeachtable-name-fn","type":"Globals"},{"name":"Testing Asynchronous Code","path":"asynchronous","type":"Guides: Introduction"},{"name":"Testing React Apps","path":"tutorial-react","type":"Framework Guides"},{"name":"Testing React Native Apps","path":"tutorial-react-native","type":"Framework Guides"},{"name":"Testing Web Frameworks","path":"testing-frameworks","type":"Framework Guides"},{"name":"The Jest Object","path":"jest-object","type":"The Jest Object"},{"name":"Timer Mocks","path":"timer-mocks","type":"Guides"},{"name":"Troubleshooting","path":"troubleshooting","type":"Guides"},{"name":"Using Matchers","path":"using-matchers","type":"Guides: Introduction"},{"name":"Using with MongoDB","path":"mongodb","type":"Guides"},{"name":"Using with puppeteer","path":"puppeteer","type":"Guides"},{"name":"Using with webpack","path":"webpack","type":"Guides"},{"name":"Watch Plugins","path":"watch-plugins","type":"Guides"}],"types":[{"name":"Configuring Jest","count":52,"slug":"configuring-jest"},{"name":"Expect","count":54,"slug":"expect"},{"name":"Framework Guides","count":3,"slug":"framework-guides"},{"name":"Globals","count":19,"slug":"globals"},{"name":"Guides","count":11,"slug":"guides"},{"name":"Guides: Introduction","count":7,"slug":"guides-introduction"},{"name":"Jest CLI Options","count":48,"slug":"jest-cli-options"},{"name":"Mock Functions","count":18,"slug":"mock-functions"},{"name":"The Jest Object","count":26,"slug":"the-jest-object"}]}