Skip to content

Instantly share code, notes, and snippets.

View MandarinConLaBarba's full-sized avatar

Mandarin Drummond MandarinConLaBarba

View GitHub Profile
@MandarinConLaBarba
MandarinConLaBarba / test-mock.js
Created May 15, 2012 22:03
Jasmine Spies: Mocking
var testModule = require("./testModule"),
testModule2 = require('./testModule2');
describe("mock/spy test", function() {
it("should not pass", function(done) {
var theNewValue = "this is a mock, sucker!"