Skip to content

Instantly share code, notes, and snippets.

@ronaiza-cardoso
Created November 8, 2016 17:29
Show Gist options
  • Save ronaiza-cardoso/0c312669526512c5c95ba969f975bcb4 to your computer and use it in GitHub Desktop.
Save ronaiza-cardoso/0c312669526512c5c95ba969f975bcb4 to your computer and use it in GitHub Desktop.
'use strict';
const Calc = require('./../Calc');
const chai = require('chai');
const expect = chai.expect;
describe('name of file - Calc', ( ) => {
it('description of the test - sum should return 4', (done) => {
let resultSum = Calc.sum( 2, 2 );
expect( resultSum ).to.be.equal( 4 );
done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment