MCPcopy Create free account

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

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

↓ 4 callersMethod_clearScreen
()
packages/vitest/src/node/logger.ts:98
↓ 4 callersMethod_isCachedTestFile
* Returns if the file is a test file. Requires `.globTestFiles()` to be called first. * @internal
packages/vitest/src/node/project.ts:378
↓ 4 callersFunction_l
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 4 callersFunction_l
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 4 callersMethod_throwIfClosing
(action?: string)
packages/browser-webdriverio/src/webdriverio.ts:247
↓ 4 callersFunction_u
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 4 callersFunction_u
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 4 callersFunctionabortContextSignal
(context: TestContext, error: Error)
packages/runner/src/context.ts:147
↓ 4 callersFunctionac
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:25
↓ 4 callersFunctionac
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:25
↓ 4 callersFunctionadd
()
test/cli/fixtures/no-module-runner/test/manual-mock.test.ts:53
↓ 4 callersFunctionadd
(...args: number[])
test/cli/fixtures/no-module-runner/src/in-source/add.ts:1
↓ 4 callersFunctionaf
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:19
↓ 4 callersFunctionaf
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:19
↓ 4 callersFunctionautomockModule
( code: string, mockType: 'automock' | 'autospy', parse: (code: string) => any, options: AutomockOptio
packages/mocker/src/node/automock.ts:17
↓ 4 callersFunctionb
()
test/cli/fixtures/stacktraces/error-with-stack.test.js:11
↓ 4 callersFunctionbc
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:29
↓ 4 callersFunctionbc
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:29
↓ 4 callersFunctionbeautify
(json: string)
test/cli/test/reporters/reporters.test.ts:8
↓ 4 callersFunctionbu
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 4 callersFunctionbu
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 4 callersFunctioncallSuiteHook
( suite: Suite, currentTask: Task, name: T, runner: VitestRunner, args: SuiteHooks[T][0] extends (..
packages/runner/src/run.ts:167
↓ 4 callersMethodcancel
(_reason: CancelReason)
packages/vitest/src/runtime/runners/test.ts:132
↓ 4 callersMethodcapture
(source: Source, data: any)
test/test-utils/cli.ts:42
↓ 4 callersFunctioncc
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 4 callersFunctioncc
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 4 callersFunctioncheckFileAccess
(path: string)
packages/browser/src/node/rpc.ts:117
↓ 4 callersFunctioncl
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 4 callersFunctioncl
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 4 callersMethodclean
(clean = true)
packages/vitest/src/node/coverage.ts:235
↓ 4 callersFunctioncleanupCoverageJson
(name = './coverage/coverage-final.json')
test/coverage-test/utils.ts:92
↓ 4 callersMethodclearCache
()
packages/vitest/src/node/cache/results.ts:40
↓ 4 callersMethodcollectFiles
(files: File[] = [])
packages/ws-client/src/state.ts:47
↓ 4 callersFunctionconfigureProps
(fn: Function, options: FixturePropsOptions)
packages/runner/src/fixture.ts:620
↓ 4 callersFunctioncreateChainable
( keys: T[], fn: (this: Record<T, any>, ...args: Args) => R, context?: Record<string, any>, )
packages/runner/src/utils/chain.ts:33
↓ 4 callersMethodcreateCoverageMap
()
packages/coverage-istanbul/src/provider.ts:134
↓ 4 callersMethodcreateCoverageMap
()
packages/vitest/src/node/coverage.ts:219
↓ 4 callersMethodcreateEsModule
( fileURL: string, getCode: () => Promise<string> | string, )
packages/vitest/src/runtime/vm/esm-executor.ts:49
↓ 4 callersFunctioncreateMockInstance
(options: MockInstanceOption = {})
packages/spy/src/index.ts:30
↓ 4 callersFunctioncreateMockSchema
(validate: StandardSchemaV1['~standard']['validate'])
test/core/test/expect.test.ts:486
↓ 4 callersFunctioncreateNoTagsError
(availableTags: TestTagDefinition[], tag: string, prefix = 'tag')
packages/runner/src/utils/tags.ts:36
↓ 4 callersFunctioncreateObjectGraph
(n: number)
test/core/test/pretty-format.test.ts:5
↓ 4 callersMethodcreateObjectURL
(blob: any)
packages/vitest/src/integrations/env/jsdom.ts:262
↓ 4 callersFunctioncreateOrUpdateEntry
(tasks: Task[])
packages/ui/client/composables/explorer/collector.ts:271
↓ 4 callersFunctioncreateOrUpdateNode
( parentId: string, task: Task, createAll: boolean, )
packages/ui/client/composables/explorer/utils.ts:167
↓ 4 callersMethodcreateSession
( sessionId: string, project: TestProject, pool: { reject: (error: Error) => void }, options?:
packages/vitest/src/node/browser/sessions.ts:19
↓ 4 callersFunctioncreateShadowRoot
()
test/browser/test/userEvent.test.ts:1046
↓ 4 callersFunctioncreateTestServer
(config: UserConfig)
test/cli/test/public-mocker.test.ts:49
↓ 4 callersFunctioncu
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 4 callersFunctioncu
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 4 callersFunctiond
()
test/cli/fixtures/stacktraces/error-with-stack.test.js:19
↓ 4 callersFunctiondate
(time: Date)
test/cli/test/reported-tasks.test.ts:340
↓ 4 callersFunctiondelay
(timeout: number)
test/config/fixtures/sequence-concurrent/sequence-concurrent-true-sequential.test.ts:3
↓ 4 callersFunctiondelay
(timeout: number)
test/config/fixtures/sequence-concurrent/sequence-concurrent-false-concurrent.test.ts:3
↓ 4 callersFunctiondelay
(timeout: number)
test/config/fixtures/sequence-concurrent/sequence-concurrent-false-sequential.test.ts:3
↓ 4 callersFunctiondelay
(timeout: number)
test/config/fixtures/sequence-concurrent/sequence-concurrent-true-concurrent-false.test.ts:3
↓ 4 callersFunctiondelay
(timeout: number)
test/config/fixtures/sequence-concurrent/sequence-concurrent-true-concurrent.test.ts:3
↓ 4 callersMethoddeprecate
(message: string)
packages/vitest/src/node/logger.ts:112
↓ 4 callersFunctiondiffLinesUnified
( aLines: Array<string>, bLines: Array<string>, options?: DiffOptions, )
packages/utils/src/diff/diffLines.ts:105
↓ 4 callersFunctiondiff_cleanupSemanticScore_
* Given two strings, compute a score representing whether the internal * boundary falls on logical boundaries. * Scores range from 6 (best) to 0 (wo
packages/utils/src/diff/cleanupSemantic.ts:567
↓ 4 callersMethoddoUnmock
(path: string)
packages/vitest/src/integrations/vi.ts:282
↓ 4 callersFunctionec
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 4 callersFunctionec
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 4 callersFunctionef
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 4 callersFunctionef
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 4 callersFunctionemptyCounters
()
packages/vitest/src/node/reporters/summary.ts:363
↓ 4 callersMethodensureSpecificationCached
(spec: TestSpecification)
packages/vitest/src/node/specifications.ts:108
↓ 4 callersFunctioneq
( a: any, b: any, aStack: Array<unknown>, bStack: Array<unknown>, customTesters: Array<Tester>, ha
packages/expect/src/jest-utils.ts:106
↓ 4 callersFunctionequalsArgumentArray
(a: unknown[], b: unknown[])
packages/expect/src/jest-expect.ts:593
↓ 4 callersFunctionerror
(err: Error)
packages/browser/src/node/rpc.ts:112
↓ 4 callersFunctioneu
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 4 callersFunctioneu
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 4 callersMethodexpect
(type: Token['type'])
packages/runner/src/utils/tags.ts:177
↓ 4 callersMethodexperimental_clearCache
* Deletes all Vitest caches, including `experimental.fsModuleCache`. * @experimental
packages/vitest/src/node/core.ts:601
↓ 4 callersFunctionextractInlineSnaphsots
(code: string)
test/snapshots/test/utils.ts:7
↓ 4 callersFunctionextractLogs
(log: string)
test/cli/test/concurrent.test.ts:1078
↓ 4 callersFunctionfa
(e,t)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 4 callersFunctionfa
(e,t)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 4 callersFunctionff
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 4 callersFunctionff
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 4 callersMethodfindChangedFiles
(options: VCSProviderOptions)
packages/vitest/src/node/vcs/vcs.ts:12
↓ 4 callersFunctionformat
(...args: unknown[])
packages/utils/src/display.ts:236
↓ 4 callersFunctionformat
()
test/core/src/cjs/default-function.js:3
↓ 4 callersFunctionformatCustom
(input: string)
test/snapshots/test/fixtures/custom-matcher/basic.test.ts:21
↓ 4 callersFunctionformatFiles
(task: PoolTask)
packages/vitest/src/node/pools/pool.ts:307
↓ 4 callersFunctionformatTemplateString
(cases: any[], args: any[])
packages/runner/src/suite.ts:1079
↓ 4 callersFunctionformatTests
* Format test states into string while keeping ANSI escapes at minimal. * Sibling icons with same color are merged into a single c.color() call.
packages/vitest/src/node/reporters/dot.ts:168
↓ 4 callersMethodframe
()
packages/browser-playwright/src/playwright.ts:614
↓ 4 callersMethodframeLocator
* The iframe locator. This is a document locator that enters the iframe body * and works similarly to the `page` object. * * As the first arg
packages/browser/context.d.ts:868
↓ 4 callersFunctiongc
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 4 callersFunctiongc
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 4 callersFunctiongenerateCodeFrame
( source: string, indent = 0, loc: { line: number; column: number } | number, range = 2, )
packages/vitest/src/node/printError.ts:435
↓ 4 callersFunctiongenerateFileHash
( file: string, projectName: string | undefined, )
packages/runner/src/utils/collect.ts:228
↓ 4 callersFunctiongenerateHash
(str: string)
packages/runner/src/utils/collect.ts:174
↓ 4 callersFunctiongeneratedToBeMessage
( deepEqualityName: string, expected: string, actual: string, )
test/core/test/jest-expect.test.ts:1197
↓ 4 callersFunctiongetArbitraryModuleIdentifier
(node: Identifier | Literal)
packages/mocker/src/node/esmWalker.ts:394
↓ 4 callersFunctiongetAssertionName
(assertion: Chai.Assertion)
packages/vitest/src/integrations/snapshot/chai.ts:56
↓ 4 callersMethodgetBaseUrl
()
packages/mocker/src/browser/mocker.ts:84
↓ 4 callersMethodgetColumns
()
packages/vitest/src/node/logger.ts:327
↓ 4 callersFunctiongetConfig
(options: Partial<TestUserConfig>, cliOptions: Partial<TestUserConfig> = {})
test/config/test/pool.test.ts:138
← previousnext →1,201–1,300 of 7,873, ranked by callers