Skip to content

Commit

Permalink
Removed debug statement in test script
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed Nov 13, 2021
1 parent 79e0eea commit 910873d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions __tests__/script.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test("Check SDK is loaded as object and api calls reaching to hit network", () =
send: jest.fn(),
readyState: 4,
responseText: JSON.stringify({}),
status: 200
status: 200,
};

window.XMLHttpRequest = jest.fn(() => xhrMock);
Expand All @@ -23,7 +23,7 @@ test("Check SDK is loaded as object and api calls reaching to hit network", () =
"group",
"identify",
"ready",
"reset"
"reset",
],
i = 0;
i < methods.length;
Expand All @@ -44,8 +44,6 @@ test("Check SDK is loaded as object and api calls reaching to hit network", () =

require("./prodsdk.js");

console.log(rudderanalytics);

rudderanalytics.page();
rudderanalytics.track("test-event");
rudderanalytics.identify("jest-user");
Expand Down

0 comments on commit 910873d

Please sign in to comment.