summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-01-06 01:48:42 -0600
committerMike Greiling <mike@pixelcog.com>2018-01-06 01:48:42 -0600
commite99317976cfc628bbd3fcedef29941afee13ca8f (patch)
treeca85b0ecc89d23380e084d3ef11187e33fd378c6
parent6355043309454058d1d09da23910270b6e9f44a4 (diff)
downloadgitlab-ce-38030-add-graph-value-to-hover.tar.gz
make test timezone-agnostic38030-add-graph-value-to-hover
-rw-r--r--spec/javascripts/monitoring/graph/flag_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/monitoring/graph/flag_spec.js b/spec/javascripts/monitoring/graph/flag_spec.js
index 6b76232cbc5..2d474e9092f 100644
--- a/spec/javascripts/monitoring/graph/flag_spec.js
+++ b/spec/javascripts/monitoring/graph/flag_spec.js
@@ -109,7 +109,7 @@ describe('GraphFlag', () => {
});
it('formatTime', () => {
- expect(component.formatTime).toEqual('1:17PM');
+ expect(component.formatTime).toMatch(/\d:17PM/);
});
it('formatDate', () => {