Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vitest-dev/vitest
/ functions
Functions
7,873 in github.com/vitest-dev/vitest
⨍
Functions
7,873
◇
Types & classes
1,212
↓ 8 callers
Function
ho
(...e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 8 callers
Function
ho
(...e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 8 callers
Function
io
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 8 callers
Function
io
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 8 callers
Function
isTestCase
(s: Task)
packages/runner/src/utils/tasks.ts:5
↓ 8 callers
Function
logHook
(...args: unknown[])
test/cli/fixtures/plugin/vitest.config.ts:3
↓ 8 callers
Method
mark
* Add a trace marker for this locator when browser tracing is enabled. * @see {@link https://vitest.dev/api/browser/locators#mark}
packages/browser/context.d.ts:666
↓ 8 callers
Function
mo
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 8 callers
Function
mo
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 8 callers
Method
mockResolvedValueOnce
* Accepts a value that will be resolved during the next function call. TypeScript will only accept values that match the return type of the original f
packages/spy/src/types.ts:364
↓ 8 callers
Function
no
(e,t,r,o,s,c=f=>f())
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:53
↓ 8 callers
Function
no
(e,t,r,o,s,c=f=>f())
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:53
↓ 8 callers
Function
normalizeCwd
* Ensure environment and OS specific paths are consistent in snapshots
test/cli/test/reporters/reporters.test.ts:360
↓ 8 callers
Function
normalizeModuleId
(file: string)
packages/vitest/src/runtime/moduleRunner/bareModuleMocker.ts:357
↓ 8 callers
Method
on
(event: string, id: string, once = false)
packages/browser/src/node/cdp.ts:18
↓ 8 callers
Function
parseSingleFFOrSafariStack
(raw: string)
packages/utils/src/source-map.ts:78
↓ 8 callers
Method
register
( typeOrEvent: MockedModuleType | MockedModuleSerialized, raw?: string, id?: string, url?: str
packages/mocker/src/registry.ts:48
↓ 8 callers
Method
resolveId
(id: string, importer?: string)
packages/mocker/src/node/resolver.ts:61
↓ 8 callers
Method
resolveId
(rawId: string, importer?: string)
packages/vitest/src/runtime/moduleRunner/bareModuleMocker.ts:101
↓ 8 callers
Function
scaleCoordinate
(coordinate: number, cache: any)
packages/browser-webdriverio/src/locators.ts:297
↓ 8 callers
Method
schedule
* Queue new render update
packages/vitest/src/node/reporters/renderers/windowedRenderer.ts:84
↓ 8 callers
Method
setTimerTickMode
(mode: 'manual' | 'nextTimerAsync' | 'interval', interval?: number)
packages/vitest/src/integrations/mock/timers.ts:214
↓ 8 callers
Function
stabilizeReport
(report: string)
test/cli/test/reporters/junit.test.ts:124
↓ 8 callers
Method
state
* Checks the running state of the suite.
packages/vitest/src/node/reporters/reported-tasks.ts:438
↓ 8 callers
Function
trimReporterOutput
(report: string)
test/cli/test/reporters/verbose.test.ts:188
↓ 8 callers
Method
valueOf
()
packages/snapshot/src/port/utils.ts:267
↓ 8 callers
Function
vo
()
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 8 callers
Function
vo
()
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 8 callers
Method
withElement
(element: Element, error: Error | undefined)
packages/browser-webdriverio/src/locators.ts:35
↓ 8 callers
Function
wrapDiff
(diff?: string)
test/core/test/diff.test.ts:7
↓ 8 callers
Function
zi
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 8 callers
Function
zi
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 7 callers
Function
Be
(D,q,Q,he,de=null)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Be
(D,q,Q,he,de=null)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Bo
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 7 callers
Function
Bo
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 7 callers
Function
Co
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Co
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Eo
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Eo
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Go
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Go
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Hi
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Hi
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
Ke
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Ke
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Mo
(e,t,r,o)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Mo
(e,t,r,o)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
No
({effect:e,job:t},r)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
No
({effect:e,job:t},r)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 7 callers
Function
Oo
(e,t=[])
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Oo
(e,t=[])
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Po
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Po
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Rr
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:9
↓ 7 callers
Function
Rr
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:9
↓ 7 callers
Function
So
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 7 callers
Function
So
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 7 callers
Function
U
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 7 callers
Function
U
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 7 callers
Function
Vo
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 7 callers
Function
Vo
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 7 callers
Function
Xo
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Xo
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Yo
(...e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Yo
(...e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
Yt
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 7 callers
Function
Yt
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 7 callers
Function
_o
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 7 callers
Function
_o
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 7 callers
Method
_throwIfClosing
(disposable?: { close: () => Promise<void> })
packages/browser-playwright/src/playwright.ts:524
↓ 7 callers
Function
buildTestTree
( testModules: TestModule[], onTestCase?: (result: TestCase) => unknown, onTestSuite?: (testSuite: TestS
test/test-utils/index.ts:628
↓ 7 callers
Function
callHook
(hook: 'beforeAll' | 'beforeEach' | 'afterAll' | 'afterEach', order: number)
test/core/test/hooks-stack.test.ts:11
↓ 7 callers
Function
cleanUrl
(url: string)
packages/mocker/src/utils.ts:2
↓ 7 callers
Method
close
()
packages/vitest/src/node/pools/pool.ts:218
↓ 7 callers
Method
createContext
(sessionId: string, openBrowserOptions: { parallel: boolean })
packages/browser-playwright/src/playwright.ts:404
↓ 7 callers
Method
delete
(url: string)
packages/mocker/src/browser/interceptor-msw.ts:53
↓ 7 callers
Function
expectType
(obj: T)
test/core/test/vi.spec.ts:9
↓ 7 callers
Function
factory
test/coverage-test/test/configuration-options.test-d.ts:229
↓ 7 callers
Method
finish
* @internal
packages/vitest/src/utils/traces.ts:292
↓ 7 callers
Method
getCachePath
()
packages/vitest/src/node/cache/results.ts:25
↓ 7 callers
Function
getCliConfig
(options: TestUserConfig, cli: string[], fs: TestFsStructure = {})
test/cli/test/config/browser-configs.test.ts:661
↓ 7 callers
Method
getMockPath
(dep: string)
packages/vitest/src/runtime/moduleRunner/bareModuleMocker.ts:192
↓ 7 callers
Method
getPage
(sessionId: string)
packages/browser-playwright/src/playwright.ts:443
↓ 7 callers
Function
getState
( expect: ExpectStatic, )
packages/expect/src/state.ts:30
↓ 7 callers
Method
getTestFiles
()
packages/vitest/src/typecheck/typechecker.ts:435
↓ 7 callers
Method
globTestSpecifications
* Glob test files in every project and create a TestSpecification for each file and pool. * @param filters String filters to match the test files.
packages/vitest/src/node/core.ts:575
↓ 7 callers
Function
ii
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 7 callers
Function
ii
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 7 callers
Method
importActual
( rawId: string, importer: string, callstack?: string[] | null, )
packages/mocker/src/types.ts:41
↓ 7 callers
Function
isMockFunction
(fn: any)
packages/spy/src/index.ts:17
↓ 7 callers
Function
isPlaywrightProvider
(provider: BrowserProvider)
packages/browser-playwright/src/commands/trace.ts:219
↓ 7 callers
Function
ko
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 7 callers
Function
ko
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 7 callers
Function
lo
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
lo
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 7 callers
Function
normalizeDiffOptions
( options: DiffOptions = {}, )
packages/utils/src/diff/normalizeDiffOptions.ts:59
↓ 7 callers
Function
noun
(count: number, singular: string, plural: string)
packages/vitest/src/node/reporters/renderers/utils.ts:297
↓ 7 callers
Method
once
(event: string, listener: string)
packages/browser/src/node/cdp.ts:51
↓ 7 callers
Function
ordinal
(i: number)
packages/utils/src/helpers.ts:371
← previous
next →
701–800 of 7,873, ranked by callers