Commit 7dba282d authored by dwolfe's avatar dwolfe

Merge branch 'dissable-groups-drop-down' of...

Merge branch 'dissable-groups-drop-down' of https://github.com/hypothesis/client into dissable-groups-drop-down
parents 3bdc68c1 ab4c66c0
...@@ -341,7 +341,7 @@ describe('groupList', function () { ...@@ -341,7 +341,7 @@ describe('groupList', function () {
}]; }];
// Configure only one group. // Configure only one group.
const group = [{ const groups = [{
id: 'h-devs', id: 'h-devs',
links: { links: {
html: PRIVATE_GROUP_LINK, html: PRIVATE_GROUP_LINK,
...@@ -350,7 +350,7 @@ describe('groupList', function () { ...@@ -350,7 +350,7 @@ describe('groupList', function () {
organization: groupFixtures.defaultOrganization(), organization: groupFixtures.defaultOrganization(),
type: 'private', type: 'private',
}]; }];
fakeGroups.all = () => { return group; }; fakeGroups.all = () => { return groups; };
const element = createGroupList(); const element = createGroupList();
...@@ -389,9 +389,9 @@ describe('groupList', function () { ...@@ -389,9 +389,9 @@ describe('groupList', function () {
assert.lengthOf(dropdownOptions, 4); assert.lengthOf(dropdownOptions, 4);
}); });
it('is shown when it is not a thirdparty service', function () { it('is shown when it is not a third party service', function () {
// Configure only one group. // Configure only one group.
const group = [{ const groups = [{
id: 'h-devs', id: 'h-devs',
links: { links: {
html: PRIVATE_GROUP_LINK, html: PRIVATE_GROUP_LINK,
...@@ -400,7 +400,7 @@ describe('groupList', function () { ...@@ -400,7 +400,7 @@ describe('groupList', function () {
organization: groupFixtures.defaultOrganization(), organization: groupFixtures.defaultOrganization(),
type: 'private', type: 'private',
}]; }];
fakeGroups.all = () => { return group; }; fakeGroups.all = () => { return groups; };
const element = createGroupList(); const element = createGroupList();
......
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