Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code-smell: TT-336 Fixing code smells
  • Loading branch information
Edgar Guaman committed Sep 17, 2021
commit 97c04d637b5b02714f255f085364720c81a29085
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Reports Page', () => {
});

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

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