Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created July 26, 2019 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/ba9240e6110d95f12d8a8ecbfbb35089 to your computer and use it in GitHub Desktop.
Save jasongorman/ba9240e6110d95f12d8a8ecbfbb35089 to your computer and use it in GitHub Desktop.
describe('Catalogue contains no matching CD', function(){
it('returns null when no match is found', function(){
const catalogue = new Catalogue([new CD(0,0,new Description('',''))]);
assert.equal(catalogue.search('So', 'Peter Gabriel'), null);
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment