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
↓ 140 callers
Method
pass
()
test-tap/assert.js:27
↓ 50 callers
Function
fixture
(args, options = {})
test/helpers/exec.js:221
↓ 46 callers
Method
get
(path)
lib/watcher.js:697
↓ 42 callers
Method
fail
(error)
test-tap/assert.js:41
↓ 31 callers
Method
write
(string)
lib/reporters/default.js:407
↓ 30 callers
Method
has
(path)
lib/watcher.js:833
↓ 30 callers
Function
resolveFixtureDirectory
(...paths)
test/helpers/exec.js:30
↓ 28 callers
Method
set
(newValue)
lib/context-ref.js:10
↓ 23 callers
Function
delay
examples/timeouts/index.js:1
↓ 23 callers
Method
end
()
lib/run-status.js:238
↓ 21 callers
Method
skip
()
test-tap/assert.js:52
↓ 20 callers
Method
delete
(path)
lib/watcher.js:705
↓ 19 callers
Method
teardown
(fn)
lib/plugin-support/shared-worker-loader.js:30
↓ 17 callers
Method
plan
(count, planAssertionStack)
lib/test.js:475
↓ 17 callers
Method
saveFirstError
(error)
lib/test.js:470
↓ 16 callers
Function
resolve
test/config/loader.js:14
↓ 16 callers
Method
timeout
(ms, message)
lib/test.js:487
↓ 15 callers
Method
commit
({retainLogs = true} = {})
lib/test.js:134
↓ 14 callers
Method
writeLine
(string, requiresIndent = true)
lib/reporters/default.js:37
↓ 11 callers
Function
negotiateProtocol
(identifiers, {version})
lib/provider-manager.js:23
↓ 10 callers
Method
run
({files: selectedFiles = [], filter = [], runtimeOptions = {}, testFileSelector} = {})
lib/api.js:111
↓ 10 callers
Method
send
(evt)
lib/worker/channel.js:92
↓ 10 callers
Method
unref
()
lib/worker/channel.js:86
↓ 10 callers
Function
withTemporaryFixture
(cwd, task)
test/helpers/with-temporary-fixture.js:5
↓ 9 callers
Method
close
()
lib/plugin-support/reporter-host.js:467
↓ 9 callers
Method
discard
()
lib/api.js:53
↓ 9 callers
Method
publish
(message)
lib/plugin-support/reporter-host.js:430
↓ 9 callers
Method
subscribe
()
lib/plugin-support/shared-worker-loader.js:54
↓ 8 callers
Method
compare
(options)
lib/snapshot-manager.js:310
↓ 8 callers
Function
serializeError
(error, {testFile = null} = {})
lib/serialize-error.js:55
↓ 7 callers
Function
cleanOutput
test/helpers/exec.js:31
↓ 7 callers
Function
fn
(a)
test-tap/test.js:117
↓ 6 callers
Method
emitStateChange
(event)
lib/run-status.js:77
↓ 6 callers
Function
execCli
(args, options, cb)
test-tap/helper/cli.js:9
↓ 5 callers
Method
configure
({flags, mode})
lib/plugin-support/reporter-host.js:360
↓ 5 callers
Method
endRun
(totals)
lib/reporters/tap.js:148
↓ 5 callers
Function
fn
(...args)
lib/create-chain.js:4
↓ 5 callers
Function
formatWithLabel
(label, value)
lib/assert.js:29
↓ 5 callers
Function
loadConfig
({configFile, resolveFrom = process.cwd(), defaults = {}} = {})
lib/load-config.js:82
↓ 5 callers
Function
withFixture
test/watch-mode/helpers/watch.js:32
↓ 4 callers
Function
assertFailure
(t, subset)
test-tap/assert.js:61
↓ 4 callers
Function
extractCompressedSnapshot
(buffer, snapPath)
lib/snapshot-manager.js:246
↓ 4 callers
Method
finish
()
lib/test.js:619
↓ 4 callers
Function
hasExtension
(extensions, file)
lib/glob-helpers.js:52
↓ 4 callers
Method
negotiate
()
lib/plugin-support/reporter-host.js:340
↓ 4 callers
Function
normalizeGlobs
({extensions, files: filePatterns, ignoredByWatcher: ignoredByWatcherPatterns, providers})
lib/globs.js:35
↓ 4 callers
Method
ref
()
lib/worker/channel.js:80
↓ 4 callers
Method
refreshTimeout
()
lib/test.js:515
↓ 4 callers
Method
save
()
lib/snapshot-manager.js:429
↓ 4 callers
Method
startRun
(plan)
lib/reporters/tap.js:142
↓ 4 callers
Method
touch
(title, taskIndex)
lib/snapshot-manager.js:306
↓ 3 callers
Method
#writeTest
(evt, flags)
lib/reporters/tap.js:98
↓ 3 callers
Method
abort
()
lib/api.js:107
↓ 3 callers
Function
add
(fn)
test-tap/assert.js:101
↓ 3 callers
Function
ava
(fn)
test-tap/promise.js:9
↓ 3 callers
Function
available
(projectDir)
lib/watcher.js:25
↓ 3 callers
Method
clearTimeout
()
lib/test.js:533
↓ 3 callers
Function
controlFlow
(channel)
lib/ipc-flow-control.js:1
↓ 3 callers
Method
copy
()
lib/context-ref.js:14
↓ 3 callers
Method
countPassedAssertion
()
lib/test.js:366
↓ 3 callers
Function
deferred
()
lib/plugin-support/reporter-host.js:16
↓ 3 callers
Function
drainWorker
(state)
lib/plugin-support/reporter-host.js:44
↓ 3 callers
Function
fail
test-tap/runner.js:151
↓ 3 callers
Function
fixture
(...args)
test-tap/globs.js:18
↓ 3 callers
Function
getAssertionStack
(constructorOpt = getAssertionStack)
lib/assertion-error.js:1
↓ 3 callers
Function
listener
lib/plugin-support/reporter-loader.js:127
↓ 3 callers
Function
load
lib/worker/base.js:169
↓ 3 callers
Function
matches
(regex, string)
lib/assert.js:35
↓ 3 callers
Function
next
()
lib/plugin-support/reporter-loader.js:74
↓ 3 callers
Function
normalizeFileForMatching
(cwd, file)
lib/glob-helpers.js:79
↓ 3 callers
Function
normalizePattern
(pattern)
lib/glob-helpers.js:96
↓ 3 callers
Method
pass
()
lib/test.js:45
↓ 3 callers
Function
receiveMessages
(fromTestWorker, replyTo)
lib/plugin-support/shared-worker-loader.js:75
↓ 3 callers
Function
registerCompletionHandler
(handler)
lib/worker/completion-handlers.js:11
↓ 3 callers
Function
send
lib/fork.js:97
↓ 3 callers
Method
skip
()
lib/test.js:58
↓ 3 callers
Function
spawnFixture
(args, options = {})
test/helpers/exec.js:76
↓ 3 callers
Function
sum
(a, b)
examples/macros/index.js:1
↓ 3 callers
Function
teardown
()
test/shared-workers/lifecycle/fixtures/teardown.js:10
↓ 3 callers
Method
title
()
lib/test.js:184
↓ 3 callers
Method
update
(changes)
lib/watcher.js:837
↓ 3 callers
Method
writeLogs
(event, surroundLines)
lib/reporters/default.js:574
↓ 2 callers
Method
#getLocalCacheDir
()
lib/api.js:86
↓ 2 callers
Method
#rejectStartup
(error)
lib/plugin-support/reporter-host.js:258
↓ 2 callers
Function
acknowledge
(seq, handler)
lib/plugin-support/reporter-loader.js:16
↓ 2 callers
Method
addChild
(node)
lib/watcher.js:680
↓ 2 callers
Method
addLog
(text)
lib/test.js:379
↓ 2 callers
Method
asBuffer
()
test-tap/helper/tty-stream.js:52
↓ 2 callers
Function
assertExpectations
({actual, expectations, message, prefix, assertion, assertionStack})
lib/assert.js:144
↓ 2 callers
Function
beautifyStack
(stack)
lib/reporters/beautify-stack.js:61
↓ 2 callers
Function
checkAssertionMessage
(message, assertion)
lib/assert.js:46
↓ 2 callers
Function
classify
(file, {cwd, extensions, filePatterns})
lib/glob-helpers.js:45
↓ 2 callers
Method
consumeEvent
(evt)
lib/reporters/tap.js:165
↓ 2 callers
Function
createChain
(fn, defaults, meta)
lib/create-chain.js:117
↓ 2 callers
Function
createConditionalChain
(node, shouldSkip)
lib/create-chain.js:55
↓ 2 callers
Method
deferRecord
(options)
lib/snapshot-manager.js:378
↓ 2 callers
Function
distinctArray
lib/line-numbers.js:8
↓ 2 callers
Function
dumpError
({ assertion, formattedDetails, formattedError, name, originalError, // A structured clone, so some detai
lib/reporters/tap.js:11
↓ 2 callers
Function
echo
(messages)
test/shared-workers/worker-protocol/fixtures/_worker.js:15
↓ 2 callers
Method
ensureEmptyLine
()
lib/reporters/default.js:52
next →
1–100 of 631, ranked by callers