This file contains hidden or 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: dialogs.js | |
| * Data: 09/05/2018 | |
| * Descrição: Desenvolvimento de um Bot para demonstrar o uso de dialogs num ChatBot. | |
| * Author: Glaucia Lemos | |
| * | |
| */ | |
| var restify = require('restify'); |
This file contains hidden or 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: lanchoneteApp.js | |
| * Data: 02/07/2018 | |
| * Descrição: Desenvolvimento de um Bot de pedido de lanche integrado com o LUIS. | |
| * Author: Glaucia Lemos | |
| * | |
| */ | |
| // Aqui estou carregando os enviroments que estão vindo do |
This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Attach to Node", | |
| "type": "node", | |
| "request": "attach", | |
| "port": 9229, | |
| "restart": true | |
| } |
This file contains hidden or 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; |
This file contains hidden or 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.js | |
| * Author: Glaucia Lemos | |
| * Description: Arquivo responsável por realizar diferentes exemplos de testes com Chai | |
| * & Mocha | |
| * Data: 30/03/2018 | |
| * | |
| */ |
This file contains hidden or 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; |
This file contains hidden or 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.js | |
| * Author: Glaucia Lemos | |
| * Description: Arquivo responsável por realizar diferentes exemplos de testes com Chai | |
| * & Mocha | |
| * Data: 30/03/2018 | |
| * | |
| */ |
This file contains hidden or 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; |
This file contains hidden or 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.js | |
| * Author: Glaucia Lemos | |
| * Description: Arquivo responsável por realizar diferentes exemplos de testes com Chai | |
| * & Mocha | |
| * Data: 30/03/2018 | |
| * | |
| */ |
This file contains hidden or 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
| describe('Outros tipos de testes com assertions - Chai', () => { | |
| it('Teste: Deve verificar se um determinado número é maior ou igual', () => { | |
| assert.isAtLeast(6, 2, '6 é maior do que 2'); | |
| assert.isAtLeast(7, 7, '7 é igual a 7'); | |
| }); | |
| }); |