MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / session.test.ts

File session.test.ts

packages/core/test/lib/session.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, test } from 'vitest';
2import { closeSession, makeSession, updateSession } from '../../src/session';
3import type { SessionContext } from '../../src/types/session';
4import { timestampInSeconds } from '../../src/utils/time';

Callers

nothing calls this directly

Calls 6

makeSessionFunction · 0.90
timestampInSecondsFunction · 0.90
updateSessionFunction · 0.90
closeSessionFunction · 0.90
sliceMethod · 0.80
toJSONMethod · 0.65

Tested by

no test coverage detected