MCPcopy Create free account

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

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

↓ 3 callersFunctionWf
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionWf
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionXd
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionXd
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionXf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionXf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionXh
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionXh
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionYf
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionYf
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionYh
()
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionYh
()
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionZf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionZf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:28
↓ 3 callersFunctionZt
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 3 callersFunctionZt
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 3 callersFunction_e
(n,i)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 3 callersFunction_e
(n,i)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 3 callersFunction_f
(n)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 3 callersFunction_f
(n)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 3 callersFunction_h
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 3 callersFunction_h
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 3 callersMethod_initialize
(ctx: Vitest)
packages/vitest/src/node/coverage.ts:91
↓ 3 callersFunction_p
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 3 callersFunction_p
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 3 callersMethod_setHash
()
packages/vitest/src/node/project.ts:537
↓ 3 callersMethodactive
()
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:9
↓ 3 callersFunctionad
(n,i,a,l,u)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:33
↓ 3 callersFunctionad
(n,i,a,l,u)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:33
↓ 3 callersFunctionadd
(...args: number[])
examples/in-source-test/src/index.ts:2
↓ 3 callersMethodadd
(result: SnapshotResult)
packages/snapshot/src/manager.ts:22
↓ 3 callersFunctionaddCliOptions
(cli: CAC | Command, options: CLIOptionsConfig<any>)
packages/vitest/src/node/cli/cac.ts:69
↓ 3 callersMethodand
* Returns a locator that matches both the current locator and the provided locator. * @see {@link https://vitest.dev/api/browser/locators#and}
packages/browser/context.d.ts:719
↓ 3 callersFunctionap
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 3 callersFunctionap
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 3 callersFunctionassert
(condition: any, message: string)
packages/runner/src/suite.ts:192
↓ 3 callersFunctionassertGlobalExists
(name: string)
packages/web-worker/src/utils.ts:14
↓ 3 callersFunctionassertSequential
()
test/core/test/sequential.test.ts:5
↓ 3 callersFunctionbd
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 3 callersFunctionbd
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 3 callersFunctionbf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:22
↓ 3 callersFunctionbf
(n,i,a,l)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:22
↓ 3 callersFunctionbp
(e,t,r)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:44
↓ 3 callersFunctionbp
(e,t,r)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:44
↓ 3 callersFunctionbranch
(a: number)
test/coverage-test/fixtures/src/branch.ts:1
↓ 3 callersFunctionbumpSync
()
test/core/test/execution-order.test.ts:5
↓ 3 callersFunctionc
()
test/cli/fixtures/stacktraces/error-with-stack.test.js:15
↓ 3 callersFunctioncalculateSuiteHash
(parent: Suite)
packages/runner/src/utils/collect.ts:187
↓ 3 callersFunctioncalculator
(_action: string, _a: number, _b: number)
test/browser/fixtures/mocking/src/mocks_factory.ts:1
↓ 3 callersFunctioncallFixtureCleanup
(context: object)
packages/runner/src/fixture.ts:245
↓ 3 callersFunctioncanWrite
(project: TestProject)
packages/browser/src/node/rpc.ts:125
↓ 3 callersMethodcancel
()
packages/vitest/src/node/pools/browser.ts:214
↓ 3 callersFunctioncaptureStdout
()
test/coverage-test/utils.ts:152
↓ 3 callersFunctioncheckSequentialTests
()
test/core/test/concurrent-suite.test.ts:133
↓ 3 callersFunctioncircularA
()
test/coverage-test/fixtures/src/circularA.ts:5
↓ 3 callersFunctioncleanOutput
(output: string)
test/config/test/chai-config.test.ts:75
↓ 3 callersMethodcleanup
()
packages/vitest/src/node/logger.ts:336
↓ 3 callersFunctionclear
()
packages/runner/src/run.ts:296
↓ 3 callersMethodclearErrors
()
packages/vitest/src/node/state.ts:90
↓ 3 callersFunctioncollectModuleExports
( filename: string, code: string, format: 'module' | 'commonjs', exports: string[] = [], )
packages/mocker/src/node/parsers.ts:33
↓ 3 callersFunctioncompareObjects
( a: Record<string, any>, b: Record<string, any>, options?: DiffOptions, memorize: Memorize = DEFAULT_
packages/utils/src/diff/index.ts:176
↓ 3 callersFunctioncp
(e)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 3 callersFunctioncp
(e)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 3 callersFunctioncreateAssertionMessage
( util: Chai.ChaiUtils, assertion: Chai.Assertion, hasArgs: boolean, )
packages/expect/src/utils.ts:6
↓ 3 callersFunctioncreateCLI
(options: CliParseOptions = {})
packages/vitest/src/node/cli/cac.ts:77
↓ 3 callersFunctioncreateFailedFileTask
(project: TestProject, filepath: string, error: Error)
packages/vitest/src/node/ast-collect.ts:287
↓ 3 callersFunctioncreateIndexLocationsMap
(source: string)
packages/vitest/src/utils/base.ts:44
↓ 3 callersFunctioncreateProject
(connectTimeout = 100)
test/core/test/browser-sessions.test.ts:5
↓ 3 callersFunctioncreateSyntaxError
(node: Positioned<Node>, message: string)
packages/mocker/src/node/hoistMocks.ts:194
↓ 3 callersFunctioncreateTest
( fn: ( this: InternalTestContext, title: string, optionsOrFn?: TestOptions | TestFunction,
packages/runner/src/suite.ts:978
↓ 3 callersFunctioncreateTest
(fileName: string)
test/cli/test/get-state.test.ts:35
↓ 3 callersFunctioncreateViteLogger
( console: VitestLogger, level: LogLevel = 'info', options: LoggerOptions = {}, )
packages/vitest/src/node/viteLogger.ts:38
↓ 3 callersFunctioncreateViteServer
(inlineConfig: InlineConfig)
packages/vitest/src/node/vite.ts:5
↓ 3 callersFunctioncustomFilePlugin
(postfix: "1" | "2")
test/coverage-test/fixtures/configs/vitest.config.multi-transforms.ts:40
↓ 3 callersFunctiondeduped
(cb: T)
packages/vitest/src/node/project.ts:743
↓ 3 callersFunctiondeepMergeSnapshot
(target: any, source: any)
packages/snapshot/src/port/utils.ts:211
↓ 3 callersFunctiondefineBrowserProvider
(options: Omit< BrowserProviderOption<T>, 'serverFactory' | 'options' > & { options?: T })
packages/browser/src/node/index.ts:112
↓ 3 callersFunctiondefineExport
(exports: any, key: string | symbol, value: () => any)
packages/vitest/src/runtime/moduleRunner/moduleEvaluator.ts:511
↓ 3 callersFunctiondetectCodeBlock
(content: string)
packages/vitest/src/utils/test-helpers.ts:50
↓ 3 callersFunctiondiffStringsUnified
( a: string, b: string, options?: DiffOptions, )
packages/utils/src/diff/printDiffs.ts:30
↓ 3 callersMethoddoSomething
()
test/core/test/mocking/automocking-class-inheritance.test.ts:46
↓ 3 callersFunctiondp
(e,t=!0,r)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:17
↓ 3 callersFunctiondp
(e,t=!0,r)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:17
↓ 3 callersMethoddropTo
* Drags the current element to the target location. * @see {@link https://vitest.dev/api/browser/interactivity#userevent-dropto}
packages/browser/context.d.ts:637
↓ 3 callersFunctioned
(n,i,a)
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:29
↓ 3 callersFunctioned
(n,i,a)
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:29
↓ 3 callersFunctioneditTestFile
(method: 'sum' | 'subtract' | 'multiply' | 'remainder')
test/coverage-test/test/clean-on-rerun.test.ts:159
↓ 3 callersMethodensureCDPHandler
(sessionId: string, rpcId: string)
packages/browser/src/node/projectParent.ts:179
↓ 3 callersMethodensureModule
(id: string, url: string)
packages/vitest/src/runtime/moduleRunner/moduleMocker.ts:77
↓ 3 callersFunctionep
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionep
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:13
↓ 3 callersFunctionescapeHtml
(unsafe: string)
packages/ui/client/utils/escape.ts:1
↓ 3 callersFunctionescapeRegExp
(s: string)
packages/snapshot/src/port/inlineSnapshot.ts:55
↓ 3 callersMethodexperimental_parseSpecification
(specification: TestSpecification)
packages/vitest/src/node/core.ts:1084
↓ 3 callersMethodexperimental_parseSpecifications
(specifications: TestSpecification[], options?: { /** @default os.availableParallelism() */ concurrenc
packages/vitest/src/node/core.ts:1039
↓ 3 callersFunctionextractSourcemapFromFile
( code: string, filePath: string, )
packages/utils/src/source-map/node.ts:11
↓ 3 callersMethodf
()
test/core/test/jest-mock.test.ts:648
↓ 3 callersFunctionfd
(e,t="")
test/cli/test/fixtures/reporters/html/fail/assets/index-BUCFJtth.js:5
↓ 3 callersFunctionfd
(e,t="")
test/cli/test/fixtures/reporters/html/all-passing-or-skipped/assets/index-BUCFJtth.js:5
↓ 3 callersMethodfetch
( trace: Span, url: string, importer: string | undefined, environment: DevEnvironment, mak
packages/vitest/src/node/environments/fetchModule.ts:33
← previousnext →1,601–1,700 of 7,873, ranked by callers