MCPcopy Create free account

hub / github.com/dubzzz/fast-check / functions

Functions1,898 in github.com/dubzzz/fast-check

↓ 1 callersFunctionbuildReverseMapping
@internal
packages/fast-check/src/arbitrary/_internals/mappers/IndexToMappedConstant.ts:53
↓ 1 callersFunctionbuildSeededNextTaskIndex
(seeds: fc.Stream<number>, nextTaskIndexLengths: number[] = [])
packages/fast-check/test/unit/arbitrary/_internals/implementations/SchedulerImplem.spec.ts:2389
↓ 1 callersFunctionbuildStableArbitraryGeneratorCache
( isEqual: (v1: unknown, v2: unknown) => boolean, )
packages/fast-check/src/arbitrary/_internals/builders/StableArbitraryGeneratorCache.ts:15
↓ 1 callersFunctionbuildStringifiedNatArbitrary
(maxValue: number)
packages/fast-check/src/arbitrary/_internals/builders/StringifiedNatArbitraryBuilder.ts:8
↓ 1 callersFunctionbuildTest
( testFn: (...args: any[]) => any, testFnExtended: T, fc: FcExtra, ancestors: Set<string> = new Set(),
packages/vitest/src/internals/TestBuilder.ts:181
↓ 1 callersFunctionbuildTestProp
( testFn: It | It['only' | 'skip' | 'failing' | 'concurrent'] | It['concurrent']['only' | 'skip' | 'failing'
packages/jest/src/internals/TestBuilder.ts:114
↓ 1 callersFunctionbuildTestProp
( testFn: It | It['only' | 'skip' | 'concurrent'], fc: FcExtra, )
packages/vitest/src/internals/TestBuilder.ts:115
↓ 1 callersFunctionbuildTestWithPropRunner
( testFn: It | It['only' | 'skip' | 'failing' | 'concurrent'] | It['concurrent']['only' | 'skip' | 'failing'
packages/jest/src/internals/TestWithPropRunnerBuilder.ts:10
↓ 1 callersFunctionbuildTestWithPropRunner
( testFn: It | It['only' | 'skip' | 'concurrent'], label: string, arbitraries: ArbitraryTuple<Ts>, pro
packages/vitest/src/internals/TestWithPropRunnerBuilder.ts:61
↓ 1 callersFunctionbuildTrackedArbitrary
()
packages/worker/test/internals/worker-property/WorkerPropertyFromWorker.spec.ts:121
↓ 1 callersFunctionbuildUniqueArraySetBuilder
@internal
packages/fast-check/src/arbitrary/uniqueArray.ts:17
↓ 1 callersFunctionbuildUnregisteredProperty
()
packages/worker/test/e2e/__properties__/unregistered.mjs:9
↓ 1 callersFunctionbuildUnresolved
()
packages/fast-check/test/unit/arbitrary/_internals/implementations/SchedulerImplem.spec.ts:14
↓ 1 callersFunctionbuildUriPathArbitrary
(resolvedSize: Size)
packages/fast-check/src/arbitrary/_internals/builders/UriPathArbitraryBuilder.ts:33
↓ 1 callersFunctionbuildUriPathArbitraryInternal
@internal
packages/fast-check/src/arbitrary/_internals/builders/UriPathArbitraryBuilder.ts:25
↓ 1 callersFunctionbuildWorkerProperty
( arbitraries: PropertyArbitraries<Ts>, predicate: (...args: Ts) => Promise<boolean | void>, generateVal
packages/worker/src/internals/worker-property/WorkerPropertyBuilder.ts:20
↓ 1 callersFunctionbuildWrapUpFiles
()
website/docs/tutorials/detect-race-conditions/Playgrounds.tsx:173
↓ 1 callersFunctionbuildWrapWithTimersAct
* Build an act function * able to automatically schedule timers when new ones gets registered
examples/005-race/debounced-autocomplete/main.spec.tsx:73
↓ 1 callersFunctioncanHaveAtLeastOneItem
( keys: TEntityNames[], constraints: InitialPoolForEntityGraphConstraints<TEntityNames>, )
packages/fast-check/src/arbitrary/_internals/InitialPoolForEntityGraphArbitrary.ts:11
↓ 1 callersMethodcanShrinkWithoutContext
(value: unknown)
packages/fast-check/test/unit/arbitrary/string.spec.ts:227
↓ 1 callersMethodcanShrinkWithoutContext
(value: unknown)
packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryHelpers.ts:76
↓ 1 callersMethodcanShrinkWithoutContext
(_value: unknown)
packages/fast-check/test/unit/arbitrary/_internals/TupleArbitrary.spec.ts:404
↓ 1 callersMethodcanShrinkWithoutContext
(_value: unknown)
packages/fast-check/test/unit/arbitrary/_internals/ArrayArbitrary.spec.ts:633
↓ 1 callersMethodcanShrinkWithoutContext
(_value: unknown)
packages/fast-check/test/unit/check/arbitrary/definition/Arbitrary.itest.spec.ts:22
↓ 1 callersMethodcanShrinkWithoutContext
(value: unknown)
packages/fast-check/src/arbitrary/noBias.ts:16
↓ 1 callersMethodcanShrinkWithoutContext
(value: unknown)
packages/fast-check/src/arbitrary/_internals/AdapterArbitrary.ts:39
↓ 1 callersMethodcanShrinkWithoutContext
(_value: unknown)
packages/fast-check/src/arbitrary/_internals/AlwaysShrinkableArbitrary.ts:23
↓ 1 callersMethodcanShrinkWithoutContext
(value: unknown)
packages/fast-check/src/arbitrary/_internals/FrequencyArbitrary.ts:82
↓ 1 callersFunctioncharSizeAt
* Internal helper used to compute the size in bytes of one character
packages/fast-check/src/arbitrary/_internals/helpers/ReadRegex.ts:4
↓ 1 callersFunctioncharsToStringMapper
(tab: string[])
packages/fast-check/src/arbitrary/_internals/mappers/CharsToString.ts:4
↓ 1 callersFunctioncharsToStringUnmapper
(value: unknown)
packages/fast-check/src/arbitrary/_internals/mappers/CharsToString.ts:9
↓ 1 callersFunctioncheckCanProduce
( label: string, typeofLabel: string, toStringLabel: string, additionalCheck?: (v: unk
packages/fast-check/test/e2e/GenerateAllValues.spec.ts:47
↓ 1 callersFunctioncheckEqual
(a: any, b: any)
packages/fast-check/test/unit/utils/stringify.spec.ts:18
↓ 1 callersFunctionclampRegexAstInternal
@internal
packages/fast-check/src/arbitrary/_internals/helpers/ClampRegexAst.ts:9
↓ 1 callersFunctionclassify
(g: number)
packages/fast-check/test/unit/check/runner/Sampler.spec.ts:86
↓ 1 callersFunctionclearAllWorkersFor
(property: IAsyncProperty<unknown> | IProperty<unknown>)
packages/worker/src/main.ts:17
↓ 1 callersFunctionclone
(arb: Arbitrary<T>, numValues: number)
packages/fast-check/src/arbitrary/clone.ts:25
↓ 1 callersFunctioncloneableWithCount
(data: { counter: number })
packages/fast-check/test/e2e/StateFullArbitraries.spec.ts:7
↓ 1 callersFunctioncodePointsToStringMapper
(tab: string[])
packages/fast-check/src/arbitrary/_internals/mappers/CodePointsToString.ts:4
↓ 1 callersFunctioncodePointsToStringUnmapper
(value: unknown)
packages/fast-check/src/arbitrary/_internals/mappers/CodePointsToString.ts:9
↓ 1 callersFunctioncollectAfterEachHooks
Collect afterEach hooks in bottom-up order (current suite first) as vitest does
packages/vitest/src/internals/TestWithPropRunnerBuilder.ts:49
↓ 1 callersFunctioncollectAsset
(assetName, assetHash, resultingFilePath)
website/prebuild/optimize-images.mjs:110
↓ 1 callersFunctioncollectAvatar
(imageUrl, imageFinalPath, squaredSize)
website/prebuild/optimize-images.mjs:23
↓ 1 callersFunctioncollectBeforeEachHooks
Collect beforeEach hooks in top-down order (parent suites first) as vitest does
packages/vitest/src/internals/TestWithPropRunnerBuilder.ts:38
↓ 1 callersFunctioncommands
( commandArbs: Arbitrary<ICommand<Model, Real, RunResult, CheckAsync>>[], constraints: CommandsContraints
packages/fast-check/src/arbitrary/commands.ts:44
↓ 1 callersFunctioncomparatorArbitrary
()
packages/fast-check/test/unit/arbitrary/uniqueArray.spec.ts:407
↓ 1 callersFunctioncomplexSequenceItem
()
packages/fast-check/test/unit/arbitrary/_internals/implementations/SchedulerImplem.spec.ts:2201
↓ 1 callersMethodcomponentDidMount
()
packages/fast-check/test/e2e/AsyncScheduler.spec.ts:18
↓ 1 callersFunctioncomputeCandidateStringLegacy
@internal
packages/fast-check/src/arbitrary/_internals/helpers/SlicesForStringBuilder.ts:37
↓ 1 callersMethodcomputeGenerateRange
(mrng: Random, biasFactor: number | undefined)
packages/fast-check/src/arbitrary/_internals/BigIntArbitrary.ts:22
↓ 1 callersFunctioncomputeMaximalStackSize
()
packages/fast-check/test/unit/arbitrary/chainUntil.spec.ts:12
↓ 1 callersFunctioncomputeMaximalStackSize
()
packages/fast-check/test/e2e/NoStackOverflowOnShrink.spec.ts:6
↓ 1 callersMethodcomputeNegDepthBenefit
Compute the benefit for the current depth
packages/fast-check/src/arbitrary/_internals/FrequencyArbitrary.ts:193
↓ 1 callersFunctioncomputeNumChoices
@internal
packages/fast-check/src/arbitrary/mapToConstant.ts:10
↓ 1 callersFunctioncomputeObjectMaxKeys
(o: unknown)
packages/fast-check/test/unit/arbitrary/__test-helpers__/ComputeObjectMaxKeys.ts:1
↓ 1 callersFunctioncomputePublishedFiles
(packageRoot: string)
packages/packaged/src/packaged.ts:10
↓ 1 callersFunctioncomputeResultingAfterHooks
( teardownFunctions: { index: number; fn: TeardownFunction }[], hooks: LifeCycleHooks, )
packages/fast-check/src/check/plugin/LifeCyclePlugins.ts:17
↓ 1 callersFunctioncomputeTasksInPlan
(tasks: ExecutionPlan[])
packages/fast-check/test/unit/arbitrary/_internals/implementations/SchedulerImplem.spec.ts:1817
↓ 1 callersFunctioncomputedStatitics
(baseSize: fc.Size)
packages/fast-check/test/e2e/documentation/Docs.md.spec.ts:227
↓ 1 callersFunctionconstraintsArb
()
packages/fast-check/test/unit/arbitrary/date.spec.ts:204
↓ 1 callersFunctioncounOf
(value)
packages/vitest/test/vitest-fast-check.spec.ts:298
↓ 1 callersFunctioncountBeforeWin
(rawBoard: Cell[][], player: Player)
website/blog/2024-12-21-advent-of-pbt-day-21/AdventOfTheDay.tsx:34
↓ 1 callersMethodcountOccurences
* Divide an incoming replayPath into an array of {value, count} * with count is the number of consecutive occurences of value (with a max set to 64
packages/fast-check/src/check/model/ReplayPath.ts:43
↓ 1 callersFunctioncreateDelay0
()
packages/fast-check/src/utils/stringify.ts:374
↓ 1 callersFunctioncreateLazyArbsPool
@internal
packages/fast-check/src/arbitrary/letrec.ts:54
↓ 1 callersFunctioncreateQualifiedRandomGenerator
@internal
packages/fast-check/src/check/runner/configuration/QualifiedParameters.ts:113
↓ 1 callersFunctioncreateSlicesForString
( charArbitrary: Arbitrary<string>, constraints: StringSharedConstraints, )
packages/fast-check/src/arbitrary/_internals/helpers/SlicesForStringBuilder.ts:90
↓ 1 callersFunctioncreateSlicesForStringLegacy
( charArbitrary: Arbitrary<string>, stringSplitter: (value: string) => string[], )
packages/fast-check/src/arbitrary/_internals/helpers/SlicesForStringBuilder.ts:60
↓ 1 callersFunctioncreateSlicesForStringNoConstraints
@internal
packages/fast-check/src/arbitrary/_internals/helpers/SlicesForStringBuilder.ts:78
↓ 1 callersFunctioncurlyBracketBlockContentEndFrom
* Find the index of the last character of a culry-bracket "{}" block. * The returned index corresponds to the one of the } closing the blockor -1 if
packages/fast-check/src/arbitrary/_internals/helpers/ReadRegex.ts:68
↓ 1 callersFunctioncustomGen
(m = 7)
packages/fast-check/test/unit/check/runner/Sampler.spec.ts:80
↓ 1 callersFunctiondecompPrime
(n: number)
examples/001-simple/decompPrime/src/decompPrime.ts:1
↓ 1 callersFunctiondefaultChar
()
packages/fast-check/src/arbitrary/stringMatching.ts:64
↓ 1 callersFunctiondefaultReportMessage
(out: RunDetails<Ts>)
packages/fast-check/src/check/runner/utils/RunDetailsFormatter.ts:220
↓ 1 callersMethoddefaultShrinkForFirst
Generate shrink values for first arbitrary when no context and no value was provided
packages/fast-check/src/arbitrary/_internals/FrequencyArbitrary.ts:120
↓ 1 callersMethoddefaultTarget
()
packages/fast-check/src/arbitrary/_internals/BigIntArbitrary.ts:56
↓ 1 callersFunctiondefaultValues
@internal
packages/fast-check/src/arbitrary/_internals/helpers/QualifiedObjectConstraints.ts:139
↓ 1 callersFunctiondefaultsMinMaxTypedInt8Arb
()
packages/fast-check/test/unit/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.spec.ts:189
↓ 1 callersFunctiondelay
(duration)
packages/ava/test/ava-specs/testProp.js:4
↓ 1 callersFunctiondelay
()
packages/fast-check/test/unit/check/runner/Runner.spec.ts:464
↓ 1 callersFunctiondelay
()
packages/fast-check/test/unit/check/property/AsyncProperty.spec.ts:106
↓ 1 callersFunctiondelay
(timeMs: number)
packages/fast-check/test/e2e/SkipAllAfterTime.spec.ts:166
↓ 1 callersFunctiondelay0
()
packages/worker/test/internals/lock/Lock.spec.ts:53
↓ 1 callersFunctiondeleteById
(id: string)
examples/005-race/todolist/src/TodoList.tsx:96
↓ 1 callersFunctiondependenciesArbFor
(currentItem: number)
packages/fast-check/test/unit/arbitrary/_internals/implementations/SchedulerImplem.spec.ts:1127
↓ 1 callersFunctiondependencyTree
( initialPackageName: string, fetch: (packageName: string) => Promise<PackageDefinition>, )
examples/005-race/dependencyTree/src/dependencyTree.ts:1
↓ 1 callersFunctiondepth
(n: Tree)
packages/fast-check/test/e2e/arbitraries/MemoArbitrary.spec.ts:25
↓ 1 callersFunctiondepth
(n: any)
packages/fast-check/test/e2e/arbitraries/LetRecArbitrary.spec.ts:34
↓ 1 callersFunctiondetach
(buffer: ArrayBuffer)
packages/fast-check/test/unit/utils/stringify.spec.ts:409
↓ 1 callersFunctiondictOf
@internal
packages/fast-check/src/arbitrary/_internals/builders/AnyArbitraryBuilder.ts:28
↓ 1 callersFunctiondiffersOnUnicodePropertySnippet
(originalContent: string, refreshedContent: string)
packages/fast-check/test/e2e/documentation/Docs.md.spec.ts:67
↓ 1 callersFunctiondistance
* @param {House} houseA * @param {House} houseB * @returns {number}
website/blog/2024-12-18-advent-of-pbt-day-18/buggy.mjs:37
↓ 1 callersFunctiondistributeCoins
(availableCoins: Coin[], amountsToBePaid: number[])
website/blog/2024-12-24-advent-of-pbt-day-24/AdventOfTheDay.tsx:46
↓ 1 callersFunctiondoubleConstraints
( recordConstraints: Partial<typeof defaultDoubleRecordConstraints> = defaultDoubleRecordConstraints, )
packages/fast-check/test/unit/arbitrary/__test-helpers__/FloatingPointHelpers.ts:158
↓ 1 callersFunctiondraftNextProductionState
@internal
packages/fast-check/src/arbitrary/_internals/OnTheFlyLinksForEntityGraphArbitrary.ts:147
↓ 1 callersFunctiondropAll
(name: string, obj: T)
packages/poisoning/test/main.spec.ts:115
↓ 1 callersFunctiondropAllFromObj
(obj: unknown)
packages/fast-check/test/e2e/Poisoning.spec.ts:149
↓ 1 callersFunctiondropAnySelfInPath
(path: string)
packages/fast-check/test/e2e/arbitraries/WebArbitrary.spec.ts:77
↓ 1 callersFunctiondropMainGlobals
()
packages/fast-check/test/e2e/Poisoning.spec.ts:167
↓ 1 callersFunctiondummyTest
()
packages/jest/src/jest-fast-check-worker.ts:13
← previousnext →501–600 of 1,898, ranked by callers