Skip to content

Commit

Permalink
revert LD changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 10, 2024
1 parent bd1cda5 commit 8392ef9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/cypress/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="cypress" />

import { initLaunchDarklyFromAccessToken } from "@replay-cli/shared/launch-darkly/initLaunchDarklyFromAccessToken";
import { initLogger, logger } from "@replay-cli/shared/logger";
import { mixpanelAPI } from "@replay-cli/shared/mixpanel/mixpanelAPI";
import { getRuntimePath } from "@replay-cli/shared/runtime/getRuntimePath";
Expand Down Expand Up @@ -272,9 +271,6 @@ const plugin = (
packageName,
packageVersion,
});
if (accessToken) {
initLaunchDarklyFromAccessToken(accessToken);
}

cypressReporter = new CypressReporter(config, options);

Expand Down
4 changes: 0 additions & 4 deletions packages/playwright/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type {
TestError,
TestResult,
} from "@playwright/test/reporter";
import { initLaunchDarklyFromAccessToken } from "@replay-cli/shared/launch-darkly/initLaunchDarklyFromAccessToken";
import { initLogger, logger } from "@replay-cli/shared/logger";
import { mixpanelAPI } from "@replay-cli/shared/mixpanel/mixpanelAPI";
import { getRuntimePath } from "@replay-cli/shared/runtime/getRuntimePath";
Expand Down Expand Up @@ -94,9 +93,6 @@ export default class ReplayPlaywrightReporter implements Reporter {
packageName,
packageVersion,
});
if (accessToken) {
initLaunchDarklyFromAccessToken(accessToken);
}
if (!config || typeof config !== "object") {
mixpanelAPI.trackEvent("error.invalid-reporter-config", { config });

Expand Down

0 comments on commit 8392ef9

Please sign in to comment.