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
manageCorking
(targetStream)
lib/reporters/default.js:59
↓ 1 callers
Function
matchAll
(string, regexp)
test/snapshot-order/helpers/get-snapshot-ids.js:2
↓ 1 callers
Function
matches
(file, patterns)
lib/glob-helpers.js:74
↓ 1 callers
Function
negotiateProtocol
(supported, plugin)
lib/plugin-support/reporter-loader.js:151
↓ 1 callers
Function
newAva
()
test-tap/helper/ava-test.js:43
↓ 1 callers
Function
normalizeBeforeEncoding
(value)
lib/snapshot-manager.js:201
↓ 1 callers
Function
normalizeFile
(file, ...base)
lib/serialize-error.js:15
↓ 1 callers
Function
normalizePath
(root, file)
test/helpers/exec.js:16
↓ 1 callers
Function
normalizePosixPath
test/helpers/exec.js:15
↓ 1 callers
Function
normalizeRequireOption
(require)
lib/api.js:24
↓ 1 callers
Function
notOk
test/config/next-gen.js:44
↓ 1 callers
Function
notOk
test/config/loader.js:40
↓ 1 callers
Function
notTest
(file)
test-tap/globs.js:48
↓ 1 callers
Function
notThrowsAsyncFails
(t, fn, subset)
test-tap/assert.js:149
↓ 1 callers
Function
notice
(code, message = '', level = 'info')
lib/cli.js:107
↓ 1 callers
Function
observe
(messages, index)
test/reporter-plugins/fixtures/plugin.js:72
↓ 1 callers
Function
observeWorkerProcess
(fork, runStatus)
lib/plugin-support/shared-workers.js:56
↓ 1 callers
Function
ok
test/config/next-gen.js:31
↓ 1 callers
Function
ok
test/config/loader.js:27
↓ 1 callers
Function
onError
lib/worker/base.js:252
↓ 1 callers
Method
onRun
(runnable)
lib/runner.js:223
↓ 1 callers
Method
onRunComplete
(runnable)
lib/runner.js:227
↓ 1 callers
Function
parse
(file)
lib/worker/line-numbers.js:9
↓ 1 callers
Function
parseLineNumbers
lib/line-numbers.js:19
↓ 1 callers
Function
pass
()
lib/reporters/colors.js:19
↓ 1 callers
Function
pass
()
test-tap/promise.js:19
↓ 1 callers
Function
passes
(t, fn, {expectBoolean = true} = {})
test-tap/assert.js:180
↓ 1 callers
Function
produceTestWorker
lib/plugin-support/shared-worker-loader.js:174
↓ 1 callers
Function
promiseEnd
(runner, next)
test-tap/hooks.js:8
↓ 1 callers
Function
promptForGlobPattern
(reporter, lineReader, currentPattern, projectDir)
lib/watcher.js:108
↓ 1 callers
Function
promptForMatchPattern
(reporter, lineReader, currentPattern)
lib/watcher.js:136
↓ 1 callers
Method
prune
()
lib/watcher.js:685
↓ 1 callers
Function
pusher
(title)
test-tap/runner.js:108
↓ 1 callers
Function
raceUnlessError
(possiblyErroring, ...promises)
test/watch-mode/helpers/watch.js:21
↓ 1 callers
Function
randomDelay
()
test/snapshot-order/fixtures/randomness/test.js:4
↓ 1 callers
Function
randomDelay
(max)
test/snapshot-regenerate-report/fixtures/test.js:3
↓ 1 callers
Function
range
(start, end)
lib/line-numbers.js:17
↓ 1 callers
Function
range
(start, end)
lib/worker/line-numbers.js:51
↓ 1 callers
Function
readLines
(stream)
lib/watcher.js:47
↓ 1 callers
Function
readSnapshots
(cwd)
test/snapshot-workflow/helpers/macros.js:68
↓ 1 callers
Function
receive
(type)
lib/plugin-support/reporter-loader.js:125
↓ 1 callers
Method
record
(options)
lib/snapshot-manager.js:399
↓ 1 callers
Method
ref
()
lib/worker/channel.js:50
↓ 1 callers
Function
removeAllInstances
()
lib/plugin-support/shared-workers.js:76
↓ 1 callers
Function
removeAllWhitespace
lib/line-numbers.js:16
↓ 1 callers
Function
removeExistingSnapFixtureFiles
test-tap/integration/snapshots.js:167
↓ 1 callers
Function
removeFile
test-tap/integration/snapshots.js:249
↓ 1 callers
Method
removePendingTest
(event)
lib/run-status.js:275
↓ 1 callers
Function
reset
()
lib/watcher.js:278
↓ 1 callers
Function
resolveConfigFile
(configFile)
lib/load-config.js:41
↓ 1 callers
Function
resolveGlobs
(projectDir, overrideExtensions, overrideFiles)
lib/eslint-plugin-helper-worker.js:42
↓ 1 callers
Function
resolveGlobsSync
(projectDir, overrideExtensions, overrideFiles)
entrypoints/eslint-plugin-helper.js:21
↓ 1 callers
Function
restoreClock
()
test-tap/helper/fix-reporter-env.js:31
↓ 1 callers
Function
run
(args, scenario, options = {})
test/reporter-plugins/cli.js:16
↓ 1 callers
Function
run
(args, env, options)
test/reporter-plugins/tap.js:23
↓ 1 callers
Function
run
(args = [], options = {})
test/watch-mode/helpers/watch.js:38
↓ 1 callers
Function
run
(fixtureName, cli)
test/snapshot-workflow/reporting.js:6
↓ 1 callers
Function
run
()
test-tap/integration/snapshots.js:61
↓ 1 callers
Function
run
(type, sanitizers = [])
test-tap/reporters/tap.js:16
↓ 1 callers
Function
run
(type, sanitizers = [])
test-tap/reporters/default.js:15
↓ 1 callers
Method
run
()
lib/test.js:628
↓ 1 callers
Function
runCompletionHandlers
()
lib/worker/completion-handlers.js:5
↓ 1 callers
Method
runMultiple
(runnables)
lib/runner.js:237
↓ 1 callers
Method
runTeardowns
()
lib/test.js:559
↓ 1 callers
Method
runTest
(task, contextRef)
lib/runner.js:322
↓ 1 callers
Method
saveSnapshotState
()
lib/runner.js:219
↓ 1 callers
Function
selectComparable
(actual, selector, circular = [selector])
lib/like-selector.js:19
↓ 1 callers
Function
set
()
test/create-chain/test.js:180
↓ 1 callers
Method
set
(newValue)
lib/context-ref.js:35
↓ 1 callers
Function
setCappedTimeout
(callback, delay)
lib/now-and-timers.js:18
↓ 1 callers
Function
setup
(t, scenario, options = {})
test/reporter-plugins/runtime.js:12
↓ 1 callers
Function
setup
(title, manager, fn)
test-tap/try-snapshot.js:14
↓ 1 callers
Function
signalAvailable
()
lib/plugin-support/shared-worker-loader.js:155
↓ 1 callers
Function
signalError
()
lib/fork.js:131
↓ 1 callers
Function
simulateTTY
(stream, colorDepth)
test/helpers/simulate-tty.js:19
↓ 1 callers
Method
skipBlock
(title)
lib/snapshot-manager.js:404
↓ 1 callers
Function
snapshotStdout
(t, stdout)
test/external-assertions/test.js:7
↓ 1 callers
Function
sortBlocks
(blocksByTitle, blockIndices)
lib/snapshot-manager.js:188
↓ 1 callers
Function
sortStats
test/helpers/exec.js:68
↓ 1 callers
Function
start
({api, filter, globs, projectDir, providers, reporter, stdin, signal})
lib/watcher.js:156
↓ 1 callers
Function
start
(host)
test/reporter-plugins/runtime.js:51
↓ 1 callers
Function
startChain
(name, call, defaults)
lib/create-chain.js:3
↓ 1 callers
Function
subtract
(a: number, b: number)
examples/typescript-native/source/index.ts:3
↓ 1 callers
Function
subtract
(a: number, b: number)
examples/typescript-loader/source/index.ts:3
↓ 1 callers
Function
subtract
(a: number, b: number)
examples/typescript-build/source/index.ts:3
↓ 1 callers
Method
suggestExitCode
(circumstances)
lib/run-status.js:243
↓ 1 callers
Function
sum
(a: number, b: number)
examples/typescript-native/source/index.ts:1
↓ 1 callers
Function
throwError
()
test-tap/fixture/report/regular/traces-in-t-throws.js:3
↓ 1 callers
Function
throwsAsyncFails
(t, fn, subset)
test-tap/assert.js:136
↓ 1 callers
Function
throwsAsyncPasses
(t, fn)
test-tap/assert.js:195
↓ 1 callers
Method
toBuffer
()
lib/snapshot-manager.js:183
↓ 1 callers
Method
traceToTestFile
(startingPath)
lib/watcher.js:798
↓ 1 callers
Function
translate
(sourceMap, pos)
lib/worker/line-numbers.js:53
↓ 1 callers
Method
trigger
()
lib/api.js:63
↓ 1 callers
Function
tryRead
(file)
lib/snapshot-manager.js:87
↓ 1 callers
Method
unref
()
lib/worker/channel.js:59
↓ 1 callers
Function
validateEnvironmentVariables
(environmentVariables)
lib/environment-variables.js:1
↓ 1 callers
Function
validateExpectations
(assertion, expectations, numberArgs)
lib/assert.js:57
↓ 1 callers
Function
validateFlags
(message, reservedFlags, usedFlags)
lib/plugin-support/reporter-host.js:71
↓ 1 callers
Function
validateNegotiation
(plugin, message, reservedFlags, usedFlags)
lib/plugin-support/reporter-host.js:49
← previous
next →
301–400 of 631, ranked by callers