Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/growthbook/growthbook
/ ExperimentSnapshotModel.test.ts
File
ExperimentSnapshotModel.test.ts
packages/back-end/test/models/ExperimentSnapshotModel.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
mongoose from
"mongoose"
;
2
import
{ MongoMemoryServer } from
"mongodb-memory-server"
;
3
import
{
4
ExperimentSnapshotAnalysis,
Callers
nothing calls this directly
Calls
15
createExperimentSnapshotModel
Function · 0.90
findSnapshotById
Function · 0.90
getLatestSnapshotStatus
Function · 0.90
getLatestSuccessfulSnapshot
Function · 0.90
buildAnalysisKey
Function · 0.90
updateSnapshot
Function · 0.90
updateSnapshotAnalysis
Function · 0.90
addOrUpdateSnapshotMultipleAnalysis
Function · 0.90
addOrUpdateSnapshotAnalysis
Function · 0.90
getSnapshotUpdateContext
Function · 0.85
makeSnapshotWithMetric
Function · 0.85
makeEmptyAnalysis
Function · 0.85
Tested by
no test coverage detected