Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. describe('stockBooks check', () => {
  3.         it('with given array of new books', () => {
  4.             assert.equal(myClass.books.length,0);
  5.             assert.equal(myClass.books.length,2);
  6.             assert.equal(JSON.stringify(myClass.stockBooks(['Book1-Albert', 'Book2-John']), '[{"title":"Book1","author":"Albert"},{"title":"Book2","author":"John"}]');
  7.         });
  8.     });
  9. RAW Paste Data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement