Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/lib/utils/datetime/date_format_utility_spec.js')
-rw-r--r--spec/frontend/lib/utils/datetime/date_format_utility_spec.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/frontend/lib/utils/datetime/date_format_utility_spec.js b/spec/frontend/lib/utils/datetime/date_format_utility_spec.js
index 6b515e9f96a..e7a6367eeac 100644
--- a/spec/frontend/lib/utils/datetime/date_format_utility_spec.js
+++ b/spec/frontend/lib/utils/datetime/date_format_utility_spec.js
@@ -134,23 +134,6 @@ describe('formatTimeAsSummary', () => {
});
});
-describe('durationTimeFormatted', () => {
- it.each`
- duration | expectedOutput
- ${0} | ${'00:00:00'}
- ${12} | ${'00:00:12'}
- ${60} | ${'00:01:00'}
- ${60 + 27} | ${'00:01:27'}
- ${120 + 21} | ${'00:02:21'}
- ${4 * 60 * 60 + 25 * 60 + 37} | ${'04:25:37'}
- ${35 * 60 * 60 + 3 * 60 + 7} | ${'35:03:07'}
- ${-60} | ${'-00:01:00'}
- ${-(35 * 60 * 60 + 3 * 60 + 7)} | ${'-35:03:07'}
- `('returns $expectedOutput when provided $duration', ({ duration, expectedOutput }) => {
- expect(utils.durationTimeFormatted(duration)).toBe(expectedOutput);
- });
-});
-
describe('formatUtcOffset', () => {
it.each`
offset | expected