diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-23 12:10:26 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-23 12:10:26 +0000 |
commit | 5c9f6c66fabf22927e862b2b60362e4ea25b250b (patch) | |
tree | 6ff391dcb7fdd3126f71af9fa4ca5e776a9ecbe3 /spec/frontend/lib/utils/chart_utils_spec.js | |
parent | 65fdda8d39a9af414dbe5aa3a385b9bcba00960b (diff) | |
download | gitlab-ce-5c9f6c66fabf22927e862b2b60362e4ea25b250b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/lib/utils/chart_utils_spec.js')
-rw-r--r-- | spec/frontend/lib/utils/chart_utils_spec.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/frontend/lib/utils/chart_utils_spec.js b/spec/frontend/lib/utils/chart_utils_spec.js index e811b8405fb..65bb68c5017 100644 --- a/spec/frontend/lib/utils/chart_utils_spec.js +++ b/spec/frontend/lib/utils/chart_utils_spec.js @@ -3,7 +3,11 @@ import { firstAndLastY } from '~/lib/utils/chart_utils'; describe('Chart utils', () => { describe('firstAndLastY', () => { it('returns the first and last y-values of a given data set as an array', () => { - const data = [['', 1], ['', 2], ['', 3]]; + const data = [ + ['', 1], + ['', 2], + ['', 3], + ]; expect(firstAndLastY(data)).toEqual([1, 3]); }); |