Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avajs/ava
/ functions
Functions
573 in github.com/avajs/ava
⨍
Functions
573
◇
Types & classes
72
↓ 138 callers
Method
pass
()
test-tap/assert.js:27
↓ 48 callers
Function
fixture
(args, options = {})
test/helpers/exec.js:217
↓ 42 callers
Method
fail
(error)
test-tap/assert.js:41
↓ 41 callers
Method
get
(path)
lib/watcher.js:697
↓ 27 callers
Method
has
(path)
lib/watcher.js:833
↓ 27 callers
Function
resolveFixtureDirectory
(...paths)
test/helpers/exec.js:30
↓ 26 callers
Method
set
(newValue)
lib/context-ref.js:10
↓ 23 callers
Function
delay
examples/timeouts/index.js:1
↓ 22 callers
Method
end
()
lib/run-status.js:238
↓ 22 callers
Method
write
(string)
lib/reporters/default.js:407
↓ 20 callers
Method
skip
()
test-tap/assert.js:52
↓ 17 callers
Method
delete
(path)
lib/watcher.js:705
↓ 17 callers
Method
plan
(count, planAssertionStack)
lib/test.js:475
↓ 17 callers
Method
saveFirstError
(error)
lib/test.js:470
↓ 16 callers
Method
teardown
(fn)
lib/plugin-support/shared-worker-loader.js:30
↓ 15 callers
Method
commit
({retainLogs = true} = {})
lib/test.js:134
↓ 14 callers
Method
writeLine
(string, requiresIndent = true)
lib/reporters/default.js:37
↓ 13 callers
Function
resolve
test/config/loader.js:14
↓ 12 callers
Method
timeout
(ms, message)
lib/test.js:487
↓ 10 callers
Function
negotiateProtocol
(identifiers, {version})
lib/provider-manager.js:23
↓ 10 callers
Method
run
({files: selectedFiles = [], filter = [], runtimeOptions = {}, testFileSelector} = {})
lib/api.js:106
↓ 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
subscribe
()
lib/plugin-support/shared-worker-loader.js:54
↓ 8 callers
Method
compare
(options)
lib/snapshot-manager.js:310
↓ 8 callers
Method
discard
()
lib/api.js:53
↓ 7 callers
Function
cleanOutput
test/helpers/exec.js:31
↓ 7 callers
Function
fn
(a)
test-tap/test.js:117
↓ 7 callers
Function
serializeError
(error, {testFile = null} = {})
lib/serialize-error.js:55
↓ 6 callers
Function
execCli
(args, options, cb)
test-tap/helper/cli.js:9
↓ 6 callers
Method
publish
(data)
lib/plugin-support/shared-worker-loader.js:50
↓ 5 callers
Method
emitStateChange
(event)
lib/run-status.js:77
↓ 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
Function
hasExtension
(extensions, file)
lib/glob-helpers.js:52
↓ 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
touch
(title, taskIndex)
lib/snapshot-manager.js:306
↓ 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
Method
endRun
()
lib/reporters/tap.js:91
↓ 3 callers
Method
finish
()
lib/test.js:619
↓ 3 callers
Function
fixture
(...args)
test-tap/globs.js:18
↓ 3 callers
Function
getAssertionStack
(constructorOpt = getAssertionStack)
lib/assertion-error.js:1
↓ 3 callers
Function
load
lib/worker/base.js:169
↓ 3 callers
Function
matches
(regex, string)
lib/assert.js:35
↓ 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
prefixTitle
(extensions, base, file, title)
lib/reporters/prefix-title.js:9
↓ 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
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:569
↓ 3 callers
Method
writeTest
(evt, flags)
lib/reporters/tap.js:116
↓ 2 callers
Method
#getLocalCacheDir
()
lib/api.js:85
↓ 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
checkAssertionMessage
(message, assertion)
lib/assert.js:46
↓ 2 callers
Function
classify
(file, {cwd, extensions, filePatterns})
lib/glob-helpers.js:45
↓ 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:13
↓ 2 callers
Function
echo
(messages)
test/shared-workers/worker-protocol/fixtures/_worker.js:15
↓ 2 callers
Method
ensureEmptyLine
()
lib/reporters/default.js:52
↓ 2 callers
Function
exec
(args, options)
test/helpers/exec.js:76
↓ 2 callers
Function
extendChain
(previous, name, flag)
lib/create-chain.js:13
↓ 2 callers
Function
fail
test-tap/runner.js:151
↓ 2 callers
Function
fileStats
lib/watcher.js:187
↓ 2 callers
Method
finishAttempt
({commit, deferredSnapshotRecordings, errors, logs, passed, retainLogs, snapshotCount, startingSnapshotCount})
lib/test.js:429
↓ 2 callers
Function
fixReporterEnv
()
test-tap/helper/fix-reporter-env.js:15
↓ 2 callers
Function
formatDescriptorWithLabel
(label, descriptor)
lib/assert.js:22
↓ 2 callers
Function
getApplicableLineNumbers
(normalizedFilePath, filter)
lib/line-numbers.js:41
↓ 2 callers
Function
getSkippedTarget
(target)
lib/create-chain.js:42
↓ 2 callers
Function
getSnapshotIds
(report)
test/snapshot-order/helpers/get-snapshot-ids.js:1
↓ 2 callers
Function
isHelperish
(file)
lib/glob-helpers.js:56
↓ 2 callers
Function
isLikeSelector
(selector)
lib/like-selector.js:3
↓ 2 callers
Function
isPrimitive
lib/like-selector.js:1
↓ 2 callers
Function
loadFromSetup
(setup, t, assertUnsupportedFiles = (tt, files) => tt.is(files.length, 0))
test/config/next-gen.js:14
next →
1–100 of 573, ranked by callers