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
Function
excerptCode
(source, options = {})
lib/code-excerpt.js:11
Function
exec
(t, input, expected)
test-types/module/macros.ts:20
Function
exec
(t, arg)
test/macros/fixtures/macros.js:7
Function
exec
(t, a, b, expected)
examples/macros/test.js:6
Function
execFunction
()
test/create-chain/test.js:144
Function
exit
()
lib/fork.js:169
Function
factory
({negotiateProtocol})
test/shared-workers/restricted-to-worker-threads/fixtures/_worker.js:1
Function
factory
({negotiateProtocol})
test/shared-workers/lifecycle/fixtures/_worker.js:1
Function
factory
({negotiateProtocol})
test/shared-workers/cannot-publish-before-available/fixtures/_worker.js:1
Function
factory
()
test/shared-workers/worker-startup-crashes/fixtures/_factory-function.js:1
Function
factory
({negotiateProtocol})
test/shared-workers/workers-are-loaded-once/fixtures/_worker.js:3
Function
factory
({negotiateProtocol})
test/shared-workers/multiple-workers-are-loaded/fixtures/worker.mjs:1
Function
factory
({negotiateProtocol})
test/shared-workers/worker-execution-crash/fixtures/_worker.js:1
Function
factory
({negotiateProtocol})
test/shared-workers/timeout/fixtures/worker.mjs:1
Function
factory
({negotiateProtocol})
test/shared-workers/worker-protocol/fixtures/_worker.js:1
Function
factory
(testFile)
test/shared-workers/worker-protocol/fixtures/_declare.js:7
Function
factory
({negotiateProtocol})
test/shared-workers/unsupported-protocol/fixtures/_worker.js:1
Function
factory
(...args)
test/config-require/fixtures/with-arguments/required-esm.js:3
Function
factory
()
test/config-require/fixtures/single-argument/required.js:3
Function
factory
(...args)
test/config-require/fixtures/non-json/required.js:3
Function
factory
()
test/config/fixtures/factory-promise-return/ava.config.js:1
Function
factory
()
test-tap/fixture/load-config/factory-no-plain-return/ava.config.js:3
Function
factory
({projectDir})
test-tap/fixture/load-config/package-no-file-yes-factory/ava.config.js:1
Method
fail
lib/plugin-support/reporter-host.js:144
Method
failPending
(error)
lib/test.js:55
Method
failPending
(error)
test-tap/assert.js:45
Function
failingTestsFirst
(selectedFiles, cacheDir, cacheEnabled)
lib/scheduler.js:35
Method
failure
()
lib/plugin-support/reporter-host.js:336
Function
findFiles
({extensions, patterns})
lib/provider-manager.js:36
Method
flushTimedOut
()
lib/plugin-support/reporter-host.js:332
Function
fnA
test-tap/assert.js:438
Function
fnB
test-tap/assert.js:439
Function
get
(target, prop, receiver)
lib/create-chain.js:60
Function
get
()
lib/worker/options.js:2
Function
get
()
test-tap/test.js:387
Method
get
()
lib/context-ref.js:26
Function
getLogs
(statObject)
test/helpers/exec.js:58
Function
handleProcessExit
(target, thisArg, args)
lib/worker/base.js:38
Method
handlePromise
(promise, wasReturned)
lib/assert.js:470
Function
handleWorkerMessage
lib/plugin-support/shared-workers.js:95
Function
hasLength
(t: ExecutionContext, input: string, expected: number)
test-types/module/macros.ts:101
Function
hook
(_t: ExecutionContext<Context>)
test-types/module/context.ts:34
Function
information
()
lib/reporters/colors.js:37
Function
init
(...args)
test/config-require/fixtures/with-arguments/required.js:1
Function
lengthCheck
(t: ExecutionContext, a: string, b: number)
test-types/module/try-commit.ts:33
Function
load
({file, fixedLocation, projectDir, recordNewSnapshots, updating})
lib/snapshot-manager.js:577
Function
load
(projectDir, overrides)
entrypoints/eslint-plugin-helper.js:62
Function
loadCli
()
lib/cli.js:100
Function
loadConcordance
()
lib/concordance.js:9
Function
loadFork
(file, options, execArgv = process.execArgv)
lib/fork.js:63
Function
macro
test-tap/runner.js:690
Function
macro
test-tap/test-try-commit.js:356
Function
macroFn
(avaT, ...rest)
test-tap/runner.js:665
Function
maxDepth
()
lib/concordance-options.js:93
Method
moveCursor
(dx, dy)
test-tap/helper/tty-stream.js:64
Function
negotiateProtocol
(supported)
lib/plugin-support/shared-worker-loader.js:168
Function
noop
()
lib/assert.js:40
Function
noop
()
test-tap/runner.js:10
Function
notImplemented
()
lib/assert.js:42
Function
notifyOfPeerFailure
()
lib/fork.js:174
Function
notifyTimeoutUpdate
()
test-tap/helper/ava-test.js:24
Function
observe
(handler)
lib/plugin-support/reporter-loader.js:34
Function
observeRun
(run)
test/internal-events/fixtures/ava.config.js:12
Function
of
()
test-tap/assert.js:1244
Function
onConnectSharedWorker
(listener)
lib/fork.js:178
Function
onResult
()
test-tap/test.js:398
Function
onStateChange
(listener)
lib/fork.js:182
Function
onStateChange
()
test-tap/run-status.js:19
Method
parents
()
lib/watcher.js:676
Function
pass
test-tap/runner.js:152
Method
passed
()
lib/test.js:196
Function
passes
(t, assertion, ...args)
test/assertions/fixtures/happy-path.js:3
Function
passes
test-tap/fixture/report/regular/unhandled-rejection.js:3
Method
pending
(promise, assertionStack)
lib/test.js:49
Method
pending
(promise)
test-tap/assert.js:32
Function
plugin
({negotiateProtocol})
test/reporter-plugins/fixtures/plugin.js:10
Function
post
(data, replyTo)
lib/worker/channel.js:225
Function
publish
(data)
lib/worker/plugin.js:72
Method
publish
(data)
lib/plugin-support/shared-worker-loader.js:50
Function
read
(file)
test/watch-mode/helpers/watch.js:46
Function
ready
()
lib/plugin-support/shared-worker-loader.js:213
Function
receive
()
lib/worker/channel.js:207
Function
registerSharedWorker
(filename, initialData)
lib/worker/channel.js:141
Function
registerUniqueTitle
test-tap/helper/ava-test.js:6
Function
replies
()
lib/worker/plugin.js:58
Function
replies
()
lib/plugin-support/shared-worker-loader.js:126
Method
reply
(data)
lib/plugin-support/shared-worker-loader.js:66
Function
required
()
test/config-require/fixtures/exports-default/required.js:1
Function
resolveExtensions
(configuredExtensions, providers = [])
lib/extensions.js:1
Function
return
()
lib/plugin-support/reporter-loader.js:98
Function
returnRejectedPromise
()
test-tap/fixture/report/regular/traces-in-t-throws.js:7
Function
rm
(file, options = {})
test/watch-mode/helpers/watch.js:50
Method
runAndStoreResult
lib/runner.js:240
Method
send
(evt, transferList)
lib/worker/channel.js:68
Function
set
(options)
lib/chalk.js:7
Function
set
(newOptions)
lib/worker/options.js:10
Function
skip
()
lib/reporters/colors.js:13
Method
skipSnapshot
({belongsTo, index, deferRecording})
lib/snapshot-manager.js:412
Method
snapshotDirectory
()
lib/runner.js:79
Method
snapshots
()
lib/runner.js:188
← previous
next →
501–600 of 631, ranked by callers