Created
March 31, 2018 03:50
-
-
Save glaucia86/5718626d5acc47eee996cc9c07be2134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* 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