Commit 8d62a7ae authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '196678-replace-_-with-lodash' into 'master'

[UPDATE] updated underscore to lodash in spec/javascripts/badges

Closes #196678

See merge request gitlab-org/gitlab!25135
parents 23ae95ad a073d48a
---
title: Replaced underscore with lodash for spec/javascripts/badges
merge_request: 25135
author: Shubham Pandey
type: other
import _ from 'underscore'; import { uniqueId } from 'lodash';
import { DUMMY_IMAGE_URL, TEST_HOST } from 'spec/test_constants'; import { DUMMY_IMAGE_URL, TEST_HOST } from 'spec/test_constants';
import { PROJECT_BADGE } from '~/badges/constants'; import { PROJECT_BADGE } from '~/badges/constants';
export const createDummyBadge = () => { export const createDummyBadge = () => {
const id = _.uniqueId(); const id = uniqueId();
return { return {
id, id,
name: 'TestBadge', name: 'TestBadge',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment