diff --git a/packages/datadog-instrumentations/src/vitest.js b/packages/datadog-instrumentations/src/vitest.js index 33ae938480..f623882352 100644 --- a/packages/datadog-instrumentations/src/vitest.js +++ b/packages/datadog-instrumentations/src/vitest.js @@ -291,9 +291,9 @@ addHook({ const testName = getTestName(task) const { - _ddKnownTests: knownTests, - _ddIsEarlyFlakeDetectionEnabled: isEarlyFlakeDetectionEnabled, - _ddEarlyFlakeDetectionNumRetries: numRepeats + knownTests, + isEarlyFlakeDetectionEnabled, + numRepeats } = getProvidedContext() if (isEarlyFlakeDetectionEnabled) {