Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe('demo tests', () => {
- it('passing test', () =>{
- expect(sum([1,2,3])).to.equal(6);
- })
- it('passing test', () =>{
- expect(sum([-1,2,3])).to.equal(4);
- })
- it('string in array', () => {
- expect(sum(["m"])).to.be.NaN;
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement