Tag Archives: mocha

Node.js Tests using Mocha

In this post, I want to talk a little more about basic Mocha tests. Here are two tests in my mail.service.test file: var mail = require(‘app/services/mail.service’); var config = require(‘../../config/config’); var should = require(‘should’); describe(‘Send Mail’, function() { it(‘should send … Continue reading

Posted in Software, Uncategorized | Tagged , , , | Leave a comment