Advertisement
ilianrusev

Untitled

Jan 26th, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. describe('demo tests', () => {
  2. it('passing test', () =>{
  3. expect(sum([1,2,3])).to.equal(6);
  4. })
  5. it('passing test', () =>{
  6. expect(sum([-1,2,3])).to.equal(4);
  7. })
  8.  
  9. it('string in array', () => {
  10. expect(sum(["m"])).to.be.NaN;
  11. })
  12.  
  13. })
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement