summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-22 00:03:55 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-02 13:28:12 -0600
commit3212d47c68c4608e7140b16a30f89e4d26267c46 (patch)
treee303172292b3d9e5bb62c9cbdc5fee2682e5df02
parent2951ee9e3683095579e651ad74df31d2f9bf6091 (diff)
downloadgitlab-ce-3212d47c68c4608e7140b16a30f89e4d26267c46.tar.gz
fix eslint complaints
-rw-r--r--spec/javascripts/datetime_utility_spec.js.es66
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/datetime_utility_spec.js.es6 b/spec/javascripts/datetime_utility_spec.js.es6
index 756c888cad7..a597e713f3e 100644
--- a/spec/javascripts/datetime_utility_spec.js.es6
+++ b/spec/javascripts/datetime_utility_spec.js.es6
@@ -5,7 +5,7 @@
describe('create date object', () => {
describe('using dashes', () => {
it('should instantiate the date object using integer params', () => {
- spyOn(window, 'Date')
+ spyOn(window, 'Date');
gl.utils.createDateObject('2016-11-12');
expect(window.Date).toHaveBeenCalledWith(2016, 10, 12);
});
@@ -19,8 +19,8 @@
});
describe('using slashes', () => {
- it('should instantiate the date object using integer params', () => {
- spyOn(window, 'Date')
+ it('should also instantiate the date object using integer params', () => {
+ spyOn(window, 'Date');
gl.utils.createDateObject('2016/08/02');
expect(window.Date).toHaveBeenCalledWith(2016, 7, 2);
});