Advertisement
-Annie-

UnitTest-InitialState

Jul 20th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. describe('makeList Unit Test', function () {
  2.     let myList = {};
  3.     beforeEach(function () {
  4.         myList = new makeList();
  5.     });
  6.  
  7.     it("should contain all properties", function () {
  8.         expect(myList.addLeft).to.exist;
  9.         expect(myList.addRight).to.exist;
  10.         expect(myList.clear).to.exist;
  11.         expect(myList.toString).to.exist;
  12.     });
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement