summaryrefslogtreecommitdiff
path: root/spec/javascripts/environments
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-30 14:24:12 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-30 14:24:12 +0000
commitcd5813ee21c3433fecbbe89185976843a77ad04d (patch)
tree728a044f7beda14c4a9c574ab3b95d7edb635c90 /spec/javascripts/environments
parent54e628740417a2f7fc0f8d77db095ff31798a335 (diff)
downloadgitlab-ce-24844-environments-date.tar.gz
Fix comma-dangle in function's arguments errors24844-environments-date
Diffstat (limited to 'spec/javascripts/environments')
-rw-r--r--spec/javascripts/environments/environment_item_spec.js.es64
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/environments/environment_item_spec.js.es6 b/spec/javascripts/environments/environment_item_spec.js.es6
index 3e2fa730c8d..5d7c6b2411d 100644
--- a/spec/javascripts/environments/environment_item_spec.js.es6
+++ b/spec/javascripts/environments/environment_item_spec.js.es6
@@ -155,11 +155,11 @@ describe('Environment item', () => {
it('should render last deployment date', () => {
const timeagoInstance = new timeago(); // eslint-disable-line
const formatedDate = timeagoInstance.format(
- environment.last_deployment.deployable.created_at
+ environment.last_deployment.deployable.created_at,
);
expect(
- component.$el.querySelector('.environment-created-date-timeago').textContent
+ component.$el.querySelector('.environment-created-date-timeago').textContent,
).toContain(formatedDate);
});