Skip to content

Instantly share code, notes, and snippets.

@glaucia86
Created March 31, 2018 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glaucia86/5718626d5acc47eee996cc9c07be2134 to your computer and use it in GitHub Desktop.
Save glaucia86/5718626d5acc47eee996cc9c07be2134 to your computer and use it in GitHub Desktop.
/**
*
* Arquivo: demo-test.js.js
* Author: Glaucia Lemos
* Description: arquivo responsável por executar as 4 operações: + - * /
* Data: 07/03/2018
*
*/
const assert = require('chai').assert;
const demo = require('../demo-2/demo');
describe('Diferentes Tipos de Testes com Mocha & Chai:', () => {
it('Teste: Deve retornar a frase: "Mocha & Chai são legais!"', () => {
assert.equal(demo(), 'Mocha & Chai são legais!');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment