mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
missed 1 decimal check on tests
This commit is contained in:
parent
7d17735d7f
commit
cbdb68f385
@ -203,7 +203,7 @@ describe('ContributionResolver', () => {
|
||||
await expect(EventProtocol.find()).resolves.toContainEqual(
|
||||
expect.objectContaining({
|
||||
type: EventProtocolType.CONTRIBUTION_CREATE,
|
||||
// amount: '100', FAILS even though it is stored correctly in the database, event has 100 stored
|
||||
amount: expect.decimalEqual(100),
|
||||
contributionId: contribution.data.createContribution.id,
|
||||
userId: bibi.data.login.id,
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user