Skip to content

Commit

Permalink
hotfix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo spinelli committed Jul 29, 2020
1 parent 1d2becc commit 7b94500
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions UserDataDownloadOrchestrator/__tests__/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ const aNonSuccess = "any non-success value";

const setUserDataProcessingStatusActivity = jest.fn().mockImplementation(() =>
SetUserDataProcessingStatusActivityResultSuccess.encode({
kind: "SUCCESS",
value: aUserDataProcessing
kind: "SUCCESS"
})
);
const extractUserDataActivity = jest.fn().mockImplementation(() =>
Expand Down Expand Up @@ -264,8 +263,7 @@ describe("UserDataDownloadOrchestrator", () => {
// the first time is called is for WIP
setUserDataProcessingStatusActivity.mockImplementationOnce(() =>
SetUserDataProcessingStatusActivityResultSuccess.encode({
kind: "SUCCESS",
value: aUserDataProcessing
kind: "SUCCESS"
})
);

Expand Down

0 comments on commit 7b94500

Please sign in to comment.