Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnigir1 committed Jan 2, 2025
1 parent 6d5b44e commit cff70d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/data-flow/test/data-loader/dataLoader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ describe("DataLoader", () => {

await expect(dataLoader.applyChanges(changesets)).rejects.toThrow(error);

expect(logger.debug).toHaveBeenCalledWith(
expect(logger.debug).toHaveBeenLastCalledWith(
`Error applying changeset InsertProject. Rolling back transaction with 2 changesets`,
{
className: DataLoader.name,
},
);
expect(mockRoundRepository.insertRound).not.toHaveBeenCalled();
});
Expand Down

0 comments on commit cff70d5

Please sign in to comment.