MCPcopy
hub / github.com/apify/crawlee / general.test.ts

File general.test.ts

test/utils/general.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import asyncFs from 'node:fs/promises';
2
3import { getCgroupsVersion, isDocker, isLambda, sleep, snakeCaseToCamelCase, weightedAvg } from '@crawlee/utils';
4

Callers

nothing calls this directly

Calls 10

isDockerFunction · 0.90
isLambdaFunction · 0.90
getCgroupsVersionFunction · 0.90
weightedAvgFunction · 0.90
sleepFunction · 0.90
snakeCaseToCamelCaseFunction · 0.90
expectFunction · 0.85
isContainerizedFunction · 0.85
forEachMethod · 0.80
entriesMethod · 0.65

Tested by

no test coverage detected