Advertisement
ilianrusev

Untitled

Jan 26th, 2022
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement