Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Vlasák committed Nov 23, 2020
1 parent a247142 commit 5a7e429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/sentry-mocked.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const withScope = jest.fn((fn) =>
})
);

const createCapture = (cb = () => {}) => (data) => {
cb();
const createCapture = (cb = (_value: unknown) => {}) => (data) => {
cb(data);
return { data, scope };
};

Expand Down

0 comments on commit 5a7e429

Please sign in to comment.