From 8d84b60b2b92e1960f86c0d7daf8233b71ba948b Mon Sep 17 00:00:00 2001 From: Ken Date: Thu, 28 Feb 2019 14:20:25 -0800 Subject: [PATCH] fixing up step 2-4 exercise --- step2-04/exercise/src/stack.spec.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/step2-04/exercise/src/stack.spec.ts b/step2-04/exercise/src/stack.spec.ts index 8b89b72..9baf193 100644 --- a/step2-04/exercise/src/stack.spec.ts +++ b/step2-04/exercise/src/stack.spec.ts @@ -1,14 +1,16 @@ +// TODO: import stack here + describe('stack', () => { it('should push item to the top of the stack', () => { - // implement test here: - // 1. require the stack + // TODO: implement test here: + // 1. instantiate a new Stack - i.e. const stack = new Stack(); // 2. create stack push calls to place some items in the stack // 3. write assertions via the expect() API }); it('should pop the item from the top of stack', () => { - // implement test here: - // 1. require the stack + // TODO: implement test here: + // 1. instantiate a new Stack - i.e. const stack = new Stack(); // 2. create stack push calls to place some items in the stack // 3. pop a few items off the stack // 4. write assertions via the expect() API