Skip to content

Commit 97c04d6

Browse files
author
Edgar Guaman
committed
code-smell: TT-336 Fixing code smells
1 parent 19bf35a commit 97c04d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe('Reports Page', () => {
113113
});
114114

115115
it('The data should be displayed as a multiple of hour when column is equal to 3', () => {
116-
expect(component.bodyExportOptions(durationTime, 0, 3, 0)).toMatch(/^[+-]?([0-9]+\.?[0-9]*|\.[0-9]+)$/);
116+
expect(component.bodyExportOptions(durationTime, 0, 3, 0)).toMatch(/^\d+\.\d{0,2}$/);
117117
});
118118

119119
it('The data should not be displayed as a multiple of hour when column is different of 3', () => {

0 commit comments

Comments
 (0)