MCPcopy Create free account

hub / github.com/avajs/ava / functions

Functions573 in github.com/avajs/ava

↓ 138 callersMethodpass
()
test-tap/assert.js:27
↓ 48 callersFunctionfixture
(args, options = {})
test/helpers/exec.js:217
↓ 42 callersMethodfail
(error)
test-tap/assert.js:41
↓ 41 callersMethodget
(path)
lib/watcher.js:697
↓ 27 callersMethodhas
(path)
lib/watcher.js:833
↓ 27 callersFunctionresolveFixtureDirectory
(...paths)
test/helpers/exec.js:30
↓ 26 callersMethodset
(newValue)
lib/context-ref.js:10
↓ 23 callersFunctiondelay
examples/timeouts/index.js:1
↓ 22 callersMethodend
()
lib/run-status.js:238
↓ 22 callersMethodwrite
(string)
lib/reporters/default.js:407
↓ 20 callersMethodskip
()
test-tap/assert.js:52
↓ 17 callersMethoddelete
(path)
lib/watcher.js:705
↓ 17 callersMethodplan
(count, planAssertionStack)
lib/test.js:475
↓ 17 callersMethodsaveFirstError
(error)
lib/test.js:470
↓ 16 callersMethodteardown
(fn)
lib/plugin-support/shared-worker-loader.js:30
↓ 15 callersMethodcommit
({retainLogs = true} = {})
lib/test.js:134
↓ 14 callersMethodwriteLine
(string, requiresIndent = true)
lib/reporters/default.js:37
↓ 13 callersFunctionresolve
test/config/loader.js:14
↓ 12 callersMethodtimeout
(ms, message)
lib/test.js:487
↓ 10 callersFunctionnegotiateProtocol
(identifiers, {version})
lib/provider-manager.js:23
↓ 10 callersMethodrun
({files: selectedFiles = [], filter = [], runtimeOptions = {}, testFileSelector} = {})
lib/api.js:106
↓ 10 callersMethodsend
(evt)
lib/worker/channel.js:92
↓ 10 callersMethodunref
()
lib/worker/channel.js:86
↓ 10 callersFunctionwithTemporaryFixture
(cwd, task)
test/helpers/with-temporary-fixture.js:5
↓ 9 callersMethodsubscribe
()
lib/plugin-support/shared-worker-loader.js:54
↓ 8 callersMethodcompare
(options)
lib/snapshot-manager.js:310
↓ 8 callersMethoddiscard
()
lib/api.js:53
↓ 7 callersFunctioncleanOutput
test/helpers/exec.js:31
↓ 7 callersFunctionfn
(a)
test-tap/test.js:117
↓ 7 callersFunctionserializeError
(error, {testFile = null} = {})
lib/serialize-error.js:55
↓ 6 callersFunctionexecCli
(args, options, cb)
test-tap/helper/cli.js:9
↓ 6 callersMethodpublish
(data)
lib/plugin-support/shared-worker-loader.js:50
↓ 5 callersMethodemitStateChange
(event)
lib/run-status.js:77
↓ 5 callersFunctionfn
(...args)
lib/create-chain.js:4
↓ 5 callersFunctionformatWithLabel
(label, value)
lib/assert.js:29
↓ 5 callersFunctionloadConfig
({configFile, resolveFrom = process.cwd(), defaults = {}} = {})
lib/load-config.js:82
↓ 5 callersFunctionwithFixture
test/watch-mode/helpers/watch.js:32
↓ 4 callersFunctionassertFailure
(t, subset)
test-tap/assert.js:61
↓ 4 callersFunctionextractCompressedSnapshot
(buffer, snapPath)
lib/snapshot-manager.js:246
↓ 4 callersFunctionhasExtension
(extensions, file)
lib/glob-helpers.js:52
↓ 4 callersFunctionnormalizeGlobs
({extensions, files: filePatterns, ignoredByWatcher: ignoredByWatcherPatterns, providers})
lib/globs.js:35
↓ 4 callersMethodref
()
lib/worker/channel.js:80
↓ 4 callersMethodrefreshTimeout
()
lib/test.js:515
↓ 4 callersMethodsave
()
lib/snapshot-manager.js:429
↓ 4 callersMethodtouch
(title, taskIndex)
lib/snapshot-manager.js:306
↓ 3 callersFunctionadd
(fn)
test-tap/assert.js:101
↓ 3 callersFunctionava
(fn)
test-tap/promise.js:9
↓ 3 callersFunctionavailable
(projectDir)
lib/watcher.js:25
↓ 3 callersMethodclearTimeout
()
lib/test.js:533
↓ 3 callersFunctioncontrolFlow
(channel)
lib/ipc-flow-control.js:1
↓ 3 callersMethodcopy
()
lib/context-ref.js:14
↓ 3 callersMethodcountPassedAssertion
()
lib/test.js:366
↓ 3 callersMethodendRun
()
lib/reporters/tap.js:91
↓ 3 callersMethodfinish
()
lib/test.js:619
↓ 3 callersFunctionfixture
(...args)
test-tap/globs.js:18
↓ 3 callersFunctiongetAssertionStack
(constructorOpt = getAssertionStack)
lib/assertion-error.js:1
↓ 3 callersFunctionload
lib/worker/base.js:169
↓ 3 callersFunctionmatches
(regex, string)
lib/assert.js:35
↓ 3 callersFunctionnormalizeFileForMatching
(cwd, file)
lib/glob-helpers.js:79
↓ 3 callersFunctionnormalizePattern
(pattern)
lib/glob-helpers.js:96
↓ 3 callersMethodpass
()
lib/test.js:45
↓ 3 callersFunctionprefixTitle
(extensions, base, file, title)
lib/reporters/prefix-title.js:9
↓ 3 callersFunctionreceiveMessages
(fromTestWorker, replyTo)
lib/plugin-support/shared-worker-loader.js:75
↓ 3 callersFunctionregisterCompletionHandler
(handler)
lib/worker/completion-handlers.js:11
↓ 3 callersFunctionsend
lib/fork.js:97
↓ 3 callersMethodskip
()
lib/test.js:58
↓ 3 callersFunctionsum
(a, b)
examples/macros/index.js:1
↓ 3 callersFunctionteardown
()
test/shared-workers/lifecycle/fixtures/teardown.js:10
↓ 3 callersMethodtitle
()
lib/test.js:184
↓ 3 callersMethodupdate
(changes)
lib/watcher.js:837
↓ 3 callersMethodwriteLogs
(event, surroundLines)
lib/reporters/default.js:569
↓ 3 callersMethodwriteTest
(evt, flags)
lib/reporters/tap.js:116
↓ 2 callersMethod#getLocalCacheDir
()
lib/api.js:85
↓ 2 callersMethodaddChild
(node)
lib/watcher.js:680
↓ 2 callersMethodaddLog
(text)
lib/test.js:379
↓ 2 callersMethodasBuffer
()
test-tap/helper/tty-stream.js:52
↓ 2 callersFunctionassertExpectations
({actual, expectations, message, prefix, assertion, assertionStack})
lib/assert.js:144
↓ 2 callersFunctioncheckAssertionMessage
(message, assertion)
lib/assert.js:46
↓ 2 callersFunctionclassify
(file, {cwd, extensions, filePatterns})
lib/glob-helpers.js:45
↓ 2 callersFunctioncreateChain
(fn, defaults, meta)
lib/create-chain.js:117
↓ 2 callersFunctioncreateConditionalChain
(node, shouldSkip)
lib/create-chain.js:55
↓ 2 callersMethoddeferRecord
(options)
lib/snapshot-manager.js:378
↓ 2 callersFunctiondistinctArray
lib/line-numbers.js:8
↓ 2 callersFunctiondumpError
({ assertion, formattedDetails, formattedError, name, originalError, // A structured clone, so some detai
lib/reporters/tap.js:13
↓ 2 callersFunctionecho
(messages)
test/shared-workers/worker-protocol/fixtures/_worker.js:15
↓ 2 callersMethodensureEmptyLine
()
lib/reporters/default.js:52
↓ 2 callersFunctionexec
(args, options)
test/helpers/exec.js:76
↓ 2 callersFunctionextendChain
(previous, name, flag)
lib/create-chain.js:13
↓ 2 callersFunctionfail
test-tap/runner.js:151
↓ 2 callersFunctionfileStats
lib/watcher.js:187
↓ 2 callersMethodfinishAttempt
({commit, deferredSnapshotRecordings, errors, logs, passed, retainLogs, snapshotCount, startingSnapshotCount})
lib/test.js:429
↓ 2 callersFunctionfixReporterEnv
()
test-tap/helper/fix-reporter-env.js:15
↓ 2 callersFunctionformatDescriptorWithLabel
(label, descriptor)
lib/assert.js:22
↓ 2 callersFunctiongetApplicableLineNumbers
(normalizedFilePath, filter)
lib/line-numbers.js:41
↓ 2 callersFunctiongetSkippedTarget
(target)
lib/create-chain.js:42
↓ 2 callersFunctiongetSnapshotIds
(report)
test/snapshot-order/helpers/get-snapshot-ids.js:1
↓ 2 callersFunctionisHelperish
(file)
lib/glob-helpers.js:56
↓ 2 callersFunctionisLikeSelector
(selector)
lib/like-selector.js:3
↓ 2 callersFunctionisPrimitive
lib/like-selector.js:1
↓ 2 callersFunctionloadFromSetup
(setup, t, assertUnsupportedFiles = (tt, files) => tt.is(files.length, 0))
test/config/next-gen.js:14
next →1–100 of 573, ranked by callers