MCPcopy Create free account

hub / github.com/vitest-dev/vitest / functions

Functions7,873 in github.com/vitest-dev/vitest

↓ 12 callersFunctionvr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 12 callersFunctionvr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 12 callersFunctiony
(pe,we)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 12 callersFunctiony
(pe,we)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 11 callersFunctionAr
(e,t,r)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 11 callersFunctionAr
(e,t,r)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 11 callersFunctionEe
()
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 11 callersFunctionEe
()
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 11 callersFunctionFr
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 11 callersFunctionFr
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 11 callersFunctionIn
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 11 callersFunctionIn
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 11 callersFunctionN
(D,q,Q,he,de,ge,Ce,Ee,xe)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 11 callersFunctionN
(D,q,Q,he,de,ge,Ce,Ee,xe)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 11 callersFunctionOr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 11 callersFunctionOr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 11 callersFunctionQn
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 11 callersFunctionQn
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 11 callersFunctionSr
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 11 callersFunctionSr
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 11 callersFunctionTr
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 11 callersFunctionTr
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 11 callersFunction_r
(n,i,a,l,u,m)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 11 callersFunction_r
(n,i,a,l,u,m)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 11 callersFunctionan
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 11 callersFunctionan
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 11 callersFunctioncallHook
(hook: 'beforeAll' | 'beforeEach' | 'afterAll' | 'afterEach', order: number)
test/core/test/hooks-parallel.test.ts:11
↓ 11 callersFunctioncallHook
(hook: 'beforeAll' | 'beforeEach' | 'afterAll' | 'afterEach', order: number)
test/core/test/hooks-list.test.ts:11
↓ 11 callersMethoddblClick
* Triggers a double click event on an element. You can use the options to set the cursor position. * @see {@link https://vitest.dev/api/browser/int
packages/browser/context.d.ts:590
↓ 11 callersFunctiondebug
(...args: unknown[])
packages/browser/src/client/orchestrator.ts:527
↓ 11 callersFunctiondiff
(a: any, b: any, options?: DiffOptions, memorize: Memorize = DEFAULT_MEMORIZE)
packages/utils/src/diff/index.ts:85
↓ 11 callersMethodelementLocator
* Wrap an HTML element in a `Locator`. When querying for elements, the search will always return this element. * @see {@link https://vitest.dev/api
packages/browser/context.d.ts:849
↓ 11 callersMethodget
(mod, prop)
packages/vitest/src/runtime/moduleRunner/moduleEvaluator.ts:140
↓ 11 callersFunctiongetConfig
()
packages/browser/src/client/utils.ts:28
↓ 11 callersFunctiongetCurrentSuite
()
packages/runner/src/suite.ts:245
↓ 11 callersFunctiongetDefaultHookTimeout
()
packages/runner/src/hooks.ts:26
↓ 11 callersFunctiongetErrorDiff
(actual: unknown, expected: unknown, options?: DiffOptions)
test/core/test/diff.test.ts:346
↓ 11 callersMethodgetFiles
* Return files that were running or collected.
packages/vitest/src/node/state.ts:106
↓ 11 callersFunctioni
(l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 11 callersFunctioni
(l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 11 callersFunctionisA
(typeName: string, value: unknown)
packages/expect/src/jest-utils.ts:317
↓ 11 callersFunctionisFileNode
(node: UITaskTreeNode)
packages/ui/client/composables/explorer/utils.ts:24
↓ 11 callersFunctionisObject
(item: unknown)
packages/utils/src/helpers.ts:154
↓ 11 callersFunctionl
(y)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 11 callersMethodlast
* Returns a locator for the last element matching the selector. * @see {@link https://vitest.dev/api/browser/locators#last}
packages/browser/context.d.ts:714
↓ 11 callersMethodnormalizeFilename
(module: TestModule)
test/cli/test/reporters/test-run.test.ts:1229
↓ 11 callersFunctionreplaceInlineSnap
( code: string, s: MagicString, currentIndex: number, newSnap: string, assertionName?: string, )
packages/snapshot/src/port/inlineSnapshot.ts:173
↓ 11 callersFunctionrpc
()
packages/browser/src/client/tester/rpc.ts:61
↓ 11 callersFunctionsum
(a: number, b: number)
test/coverage-test/fixtures/src/math.ts:1
↓ 11 callersMethodtoMatchScreenshot
* @description * This assertion allows you to perform visual regression testing by comparing * screenshots of elements or pages against stored r
packages/browser/jest-dom.d.ts:717
↓ 11 callersMethodtoReportNoErrors
()
test/browser/setup.unit.ts:65
↓ 11 callersFunctionunhandledError
(e: Error, type: string)
packages/browser/src/client/tester/tester.ts:294
↓ 11 callersMethodwheel
* Triggers a {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event|`wheel` event} on an element. * * @param options - Scro
packages/browser/context.d.ts:612
↓ 11 callersMethodwrite
(message: string, type: 'output' | 'error' = 'output')
packages/vitest/src/node/reporters/renderers/windowedRenderer.ts:189
↓ 10 callersFunction$r
(e,t,r,o)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 10 callersFunction$r
(e,t,r,o)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionKr
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionKr
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionLr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionLr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionPr
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:5
↓ 10 callersFunctionPr
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:5
↓ 10 callersFunctionQr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionQr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionVr
(e,t,r,o=null)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionVr
(e,t,r,o=null)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionYr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionYr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionZr
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionZr
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 10 callersFunctionconfig
(cliOptions: TestUserConfig, configValue: TestUserConfig = {}, viteConfig: ViteUserConfig = {}, vitestOptions:
test/config/test/override.test.ts:15
↓ 10 callersFunctioncreateFileTask
( filepath: string, root: string, projectName: string | undefined, pool?: string, viteEnvironment?:
packages/runner/src/utils/collect.ts:196
↓ 10 callersFunctiondeepMerge
( target: T, ...sources: any[] )
packages/utils/src/helpers.ts:397
↓ 10 callersFunctiondefineProject
(config: UserProjectConfigExport)
packages/vitest/src/public/config.ts:61
↓ 10 callersFunctionfailTask
(result: TaskResult, err: unknown, diffOptions: DiffOptions | undefined)
packages/runner/src/run.ts:787
↓ 10 callersFunctionfibonacci
(n: number)
test/core/src/in-source/fibonacci.ts:3
↓ 10 callersFunctionfibonacci
(n: number)
test/cli/fixtures/no-module-runner/src/in-source/fibonacci.ts:3
↓ 10 callersFunctionformatTitle
(template: string, items: any[], idx: number)
packages/runner/src/suite.ts:997
↓ 10 callersMethodfromJSON
(data: AutospiedModuleSerialized)
packages/mocker/src/registry.ts:207
↓ 10 callersMethodget
(key: K)
packages/snapshot/src/port/utils.ts:247
↓ 10 callersFunctiongetSafeTimers
()
packages/utils/src/timers.ts:23
↓ 10 callersMethodgetSnapshotState
(filepath: string)
packages/snapshot/src/client.ts:113
↓ 10 callersFunctiongetTag
(element: Element)
packages/browser/src/client/tester/expect/utils.ts:212
↓ 10 callersMethodincrement
(key: K)
packages/snapshot/src/port/utils.ts:271
↓ 10 callersFunctionje
(D,q)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionje
(D,q)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 10 callersFunctionjr
(n,i,a,l,u)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 10 callersFunctionjr
(n,i,a,l,u)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 10 callersMethodmockObject
( object: Record<string | symbol, any>, moduleType?: 'automock' | 'autospy', )
packages/mocker/src/types.ts:47
↓ 10 callersMethodonCancel
* Register a handler that will be called when the test run is cancelled with `vitest.cancelCurrentRun`.
packages/vitest/src/node/core.ts:1602
↓ 10 callersFunctionparseModule
(name: string)
packages/mocker/src/node/parsers.ts:76
↓ 10 callersFunctionparsePaths
(stdout: string)
test/config/test/shard.test.ts:11
↓ 10 callersFunctionqr
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:23
↓ 10 callersFunctionqr
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:23
↓ 10 callersFunctionrelative
(stdout: string)
test/cli/test/list.test.ts:237
↓ 10 callersFunctionrenderTestCase
(colors: readonly [string, string, string])
test/browser/fixtures/expect-dom/toMatchScreenshot.test.ts:10
↓ 10 callersFunctionresolveConfig
(configModule: any)
packages/vitest/src/node/coverage.ts:822
↓ 10 callersFunctionrm
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 10 callersFunctionrun
(config?: TestUserConfig)
test/cli/test/expect-soft.test.ts:7
↓ 10 callersFunctionrunVitest
(config: TestUserConfig, root = './fixtures/shard')
test/config/test/shard.test.ts:7
← previousnext →501–600 of 7,873, ranked by callers