MCPcopy
hub / github.com/vitest-dev/vitest / update-snapshot.test.ts

File update-snapshot.test.ts

test/browser/specs/update-snapshot.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { readFileSync } from 'node:fs'
2import { expect, onTestFailed, onTestFinished, test } from 'vitest'
3import { createFile, editFile } from '../../test-utils'
4import { instances, runBrowserTests } from './utils'

Callers

nothing calls this directly

Calls 9

editFileFunction · 0.90
createFileFunction · 0.90
runBrowserTestsFunction · 0.90
readFileSyncFunction · 0.85
errorMethod · 0.80
updateSnapshotMethod · 0.80
testFunction · 0.50
closeMethod · 0.45
getFilesMethod · 0.45

Tested by

no test coverage detected