MCPcopy
hub / github.com/vitest-dev/vitest / get

Method get

packages/vitest/src/runtime/runners/test.ts:222–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220 let _expect: ExpectStatic | undefined
221 Object.defineProperty(context, 'expect', {
222 get() {
223 if (!_expect) {
224 _expect = createExpect(context.task)
225 }
226 return _expect
227 },
228 })
229 Object.defineProperty(context, '_local', {
230 get() {

Callers 15

getSpecificationsOptionsFunction · 0.45
getFunction · 0.45
prepareResultsMethod · 0.45
isValidApiRequestFunction · 0.45
createEnvironmentLoaderFunction · 0.45
getJsdomAbortControllerFunction · 0.45
getFunction · 0.45
getFunction · 0.45
scheduleFunction · 0.45
sendBufferFunction · 0.45
sendLogFunction · 0.45

Calls 1

createExpectFunction · 0.90

Tested by

no test coverage detected