MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / throttle.test.ts

File throttle.test.ts

packages/replay-internal/test/unit/util/throttle.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import '../../utils/mock-internal-setTimeout';
2import { beforeAll, describe, expect, it, vi } from 'vitest';
3import { SKIPPED, throttle, THROTTLED } from '../../../src/util/throttle';
4import { BASE_TIMESTAMP } from '../..';

Callers

nothing calls this directly

Calls 2

throttleFunction · 0.90
fnFunction · 0.50

Tested by

no test coverage detected