Skip to content

Instantly share code, notes, and snippets.

@austinbv
Created July 17, 2012 01:03
Show Gist options
  • Save austinbv/3126243 to your computer and use it in GitHub Desktop.
Save austinbv/3126243 to your computer and use it in GitHub Desktop.
> sinon = require('sinon');
> sinon.useFakeXMLHttpRequest();
TypeError: Object #<Object> has no method 'useFakeXMLHttpRequest'
at repl:1:7
at REPLServer.self.eval (repl.js:111:21)
at rli.on.e (repl.js:260:20)
at REPLServer.self.eval (repl.js:118:5)
at Interface.<anonymous> (repl.js:250:12)
at Interface.EventEmitter.emit (events.js:88:17)
at Interface._onLine (readline.js:183:10)
at Interface._line (readline.js:501:8)
at Interface._ttyWrite (readline.js:719:14)
at ReadStream.<anonymous> (readline.js:105:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment