gitlab-org--gitlab-foss/spec/frontend/groups/members/utils_spec.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
430 B
JavaScript
Raw Normal View History

import { groupMemberRequestFormatter } from '~/groups/members/utils';
describe('group member utils', () => {
describe('groupMemberRequestFormatter', () => {
it('returns expected format', () => {
expect(
groupMemberRequestFormatter({
accessLevel: 50,
expires_at: '2020-10-16',
}),
).toEqual({ group_member: { access_level: 50, expires_at: '2020-10-16' } });
});
});
});