Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avajs/ava
/ functions
Functions
631 in github.com/avajs/ava
⨍
Functions
631
◇
Types & classes
78
↓ 1 callers
Function
checkJsonFile
(searchDir)
lib/load-config.js:68
↓ 1 callers
Function
checkRun
(t, run)
test/snapshot-removal/test.js:92
↓ 1 callers
Function
classifyForESLint
entrypoints/eslint-plugin-helper.js:79
↓ 1 callers
Function
cleanFile
(file)
lib/snapshot-manager.js:564
↓ 1 callers
Function
cleanStringDiff
(before, after)
test/snapshot-workflow/helpers/macros.js:13
↓ 1 callers
Method
clearLine
()
test-tap/helper/tty-stream.js:56
↓ 1 callers
Function
collectProviders
({conf, projectDir})
lib/eslint-plugin-helper-worker.js:13
↓ 1 callers
Function
collectStats
test-tap/run-status.js:7
↓ 1 callers
Function
combine
lib/extensions.js:6
↓ 1 callers
Function
combineEntries
({blocks})
lib/snapshot-manager.js:129
↓ 1 callers
Method
compareTestSnapshot
(options)
lib/runner.js:211
↓ 1 callers
Function
compareWithSnapshot
(options)
test-tap/assert.js:1627
↓ 1 callers
Function
completeRun
(reason, exitCode)
lib/cli.js:545
↓ 1 callers
Function
concat
(input: string[])
examples/typescript-context/source/index.ts:1
↓ 1 callers
Method
consumeStateChange
(event)
lib/reporters/default.js:182
↓ 1 callers
Function
copyStats
lib/run-status.js:5
↓ 1 callers
Function
countMatches
(string, regex)
test/snapshot-tests/corrupt.js:9
↓ 1 callers
Function
countSnapshotChanges
(oldBlocksByTitle, newBlocksByTitle)
lib/snapshot-manager.js:490
↓ 1 callers
Function
countStringMatches
(string, patternString)
test/snapshot-tests/corrupt.js:13
↓ 1 callers
Function
crash
(messages)
test/shared-workers/worker-execution-crash/fixtures/_worker.js:8
↓ 1 callers
Function
createChannelEmitter
(channelId)
lib/worker/channel.js:120
↓ 1 callers
Method
createExecutionContext
()
lib/test.js:362
↓ 1 callers
Function
createHookChain
(hook, isAfterHook)
lib/create-chain.js:102
↓ 1 callers
Function
createPost
(message)
examples/timeouts/index.js:26
↓ 1 callers
Function
createSharedWorker
(filename, initialData, teardown)
lib/worker/plugin.js:12
↓ 1 callers
Function
createTestChain
()
test/create-chain/test.js:5
↓ 1 callers
Function
createWorker
(options, execArgv)
lib/fork.js:18
↓ 1 callers
Method
debounce
()
lib/api.js:45
↓ 1 callers
Function
decodeSnapshots
(buffer, snapPath)
lib/snapshot-manager.js:273
↓ 1 callers
Function
decorateWriter
(fn)
lib/reporters/default.js:61
↓ 1 callers
Function
determineSnapshotPaths
({file, fixedLocation, projectDir})
lib/snapshot-manager.js:547
↓ 1 callers
Function
didNotError
test/watch-mode/helpers/watch.js:27
↓ 1 callers
Function
doesFileExist
lib/watcher.js:197
↓ 1 callers
Function
eachLine
(lineReader, callback)
lib/watcher.js:74
↓ 1 callers
Function
emitMessage
lib/plugin-support/shared-worker-loader.js:11
↓ 1 callers
Function
emitStateChange
lib/fork.js:70
↓ 1 callers
Function
encodeSnapshots
(snapshotData, version)
lib/snapshot-manager.js:225
↓ 1 callers
Function
exit
lib/cli.js:119
↓ 1 callers
Function
extractSource
(stack, testFile)
lib/serialize-error.js:20
↓ 1 callers
Function
f
()
test/snapshot-tests/fixtures/multiline-snapshot-label/test.js:5
↓ 1 callers
Function
fail
()
test-tap/promise.js:25
↓ 1 callers
Method
fail
(error)
lib/test.js:52
↓ 1 callers
Method
failPendingAssertion
(error)
lib/test.js:424
↓ 1 callers
Function
fails
(t, fn)
test-tap/assert.js:162
↓ 1 callers
Function
failsWith
(t, fn, subset)
test-tap/assert.js:110
↓ 1 callers
Function
failsWithAsync
(t, fn, subset)
test-tap/assert.js:123
↓ 1 callers
Function
fetchPosts
(userId)
examples/timeouts/index.js:16
↓ 1 callers
Function
fetchUsers
()
examples/timeouts/index.js:5
↓ 1 callers
Function
findFiles
({cwd, extensions, filePatterns})
lib/globs.js:120
↓ 1 callers
Function
findRepoRoot
(fromDir)
lib/load-config.js:51
↓ 1 callers
Function
findTest
(locations, declaration)
lib/worker/line-numbers.js:29
↓ 1 callers
Function
findTests
({cwd, extensions, filePatterns})
lib/globs.js:125
↓ 1 callers
Function
finish
(reason, exitCode)
lib/cli.js:572
↓ 1 callers
Function
finish
()
lib/fork.js:104
↓ 1 callers
Method
finish
(message, {interrupted = false} = {})
lib/plugin-support/reporter-host.js:436
↓ 1 callers
Function
fixColors
()
test-tap/helper/fix-reporter-env.js:8
↓ 1 callers
Function
flush
lib/plugin-support/tap-plugin.js:9
↓ 1 callers
Function
forceExit
()
lib/worker/base.js:26
↓ 1 callers
Method
forceUnref
()
lib/worker/channel.js:40
↓ 1 callers
Function
formatDescriptorDiff
(actualDescriptor, expectedDescriptor, options)
lib/assert.js:12
↓ 1 callers
Function
formatEntry
(snapshot, index)
lib/snapshot-manager.js:99
↓ 1 callers
Method
formatErrorStack
(stack, hasSource)
lib/reporters/default.js:558
↓ 1 callers
Function
formatErrorValue
(label, error)
lib/test.js:29
↓ 1 callers
Function
formatLineNumber
(lineNumber, maxLineNumber)
lib/code-excerpt.js:8
↓ 1 callers
Function
formatSerializedError
(formattedDetails, message)
lib/reporters/format-serialized-error.js:1
↓ 1 callers
Function
forwardErrorOutput
test/helpers/exec.js:35
↓ 1 callers
Function
gather
(run)
test-tap/assert.js:84
↓ 1 callers
Function
generateReport
(relFile, snapFile, snapshots)
lib/snapshot-manager.js:148
↓ 1 callers
Method
get
()
lib/context-ref.js:6
↓ 1 callers
Function
getAnonymousFn
()
test-tap/fixture/error-in-anonymous-function.js:3
↓ 1 callers
Function
getError
(statObject)
test/helpers/exec.js:55
↓ 1 callers
Method
getFailedTestFiles
()
lib/run-status.js:281
↓ 1 callers
Function
getFilePathPrefix
(files)
lib/api.js:28
↓ 1 callers
Function
getTimestamps
(stats)
test/scheduler/test.js:11
↓ 1 callers
Function
globDirectoriesSync
(cwd, patterns)
lib/globs.js:108
↓ 1 callers
Function
globFiles
(cwd, patterns)
lib/globs.js:96
↓ 1 callers
Function
handleMessage
({projectDir, overrideExtensions, overrideFiles})
lib/eslint-plugin-helper-worker.js:58
↓ 1 callers
Function
handleWorkers
(protocol)
test/shared-workers/worker-protocol/fixtures/_worker.js:26
↓ 1 callers
Function
id
test/snapshot-order/fixtures/report-declaration-order/test.js:3
↓ 1 callers
Function
id
test/snapshot-order/fixtures/randomness/test.js:3
↓ 1 callers
Method
ignoreFor
(periodMs)
lib/api.js:59
↓ 1 callers
Function
importConfig
({configFile, fileForErrorMessage})
lib/load-config.js:13
↓ 1 callers
Function
importFromProject
lib/worker/base.js:202
↓ 1 callers
Function
initState
()
test/helpers/exec.js:41
↓ 1 callers
Method
interrupt
()
lib/runner.js:529
↓ 1 callers
Function
isAvaAssertionError
(source)
lib/serialize-error.js:11
↓ 1 callers
Function
isExternalAssertError
(error)
lib/test.js:15
↓ 1 callers
Function
isLegacySnapshot
(buffer)
lib/snapshot-manager.js:76
↓ 1 callers
Function
isSameSnapshot
(a, b)
lib/snapshot-manager.js:477
↓ 1 callers
Function
isTest
(file)
test-tap/globs.js:44
↓ 1 callers
Function
isTitleMatch
(title, patterns)
lib/runner.js:17
↓ 1 callers
Function
isWorkerError
lib/serialize-error.js:53
↓ 1 callers
Function
launchWorker
(filename, initialData)
lib/plugin-support/shared-workers.js:24
↓ 1 callers
Function
lineNumberSelection
({file, lineNumbers = []})
lib/worker/line-numbers.js:72
↓ 1 callers
Function
load
(providerModule, projectDir, selectProtocol = () => true)
lib/provider-manager.js:14
↓ 1 callers
Function
loadConfigFile
({projectDir, configFile})
lib/load-config.js:22
↓ 1 callers
Function
loadFactory
()
lib/plugin-support/shared-worker-loader.js:150
↓ 1 callers
Function
loadRequiredModule
lib/worker/base.js:179
↓ 1 callers
Function
log
()
lib/reporters/colors.js:4
↓ 1 callers
Function
makeHasColors
test/helpers/simulate-tty.js:9
← previous
next →
201–300 of 631, ranked by callers