Skip to content

Commit

Permalink
0.1.1; remove mocavo
Browse files Browse the repository at this point in the history
  • Loading branch information
justincy committed Apr 26, 2016
1 parent 1f71d09 commit 1384ed5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
8 changes: 0 additions & 8 deletions gensites.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,6 @@
en: "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for."
}
},
{
id: 'mocavo',
name: 'Mocavo',
url: 'http://www.mocavo.com',
description: {
en: 'With billions of names, years & places, Mocavo is your source for free ancestry records. Upload your family tree and begin your family history search today.'
}
},
{
id: 'myheritage',
name: 'MyHeritage',
Expand Down
11 changes: 5 additions & 6 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ describe('gensites', function(){
});

it('sites() returns a copy', function(){
// Use splice to modify the returned array in place.
// Delete all entries in the array.
// Make sure we haven't modified the original sites list.
var emptyList = gensites.sites().splice(0, Number.MAX_SAFE_INTEGER);
expect(emptyList).to.have.length(0);
expect(gensites.sites()).to.have.length.above(0);
// Modify the array returned by sites() then check if that value is returned
// by another call to sites()
var firstList = gensites.sites();
firstList[0] = 'foobar';
expect(gensites.sites()[0]).to.not.equal('foobar');
});

it('site()', function(){
Expand Down

0 comments on commit 1384ed5

Please sign in to comment.