Skip to content

Commit b77cec8

Browse files
committed
fix ts type
1 parent af8a1c0 commit b77cec8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/app/components/ui-components/record-edit-fields/money/money.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ describe('MoneyEditComponent', () => {
134134
});
135135

136136
it('should handle completely invalid input', () => {
137-
component.amount = 100;
137+
component.amount = 100 as string | number;
138138
component.displayAmount = 'invalid'; // All letters, becomes empty after strip
139139

140140
component.onAmountChange();
141141

142-
expect(component.amount).toBe('');
142+
expect(component.amount as string).toBe('');
143143
expect(component.displayAmount).toBe('');
144144
});
145145

0 commit comments

Comments
 (0)