Skip to content

Instantly share code, notes, and snippets.

@jeffmo
Created May 28, 2014 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffmo/2d0f41bbbe617118ea70 to your computer and use it in GitHub Desktop.
Save jeffmo/2d0f41bbbe617118ea70 to your computer and use it in GitHub Desktop.
// __tests__/foo-test.js
jest.autoMockOff();
describe('hai', function() {
it('asdf2', function() {
require('JSONStream');
});
});
// foo.js
require('JSONStream');
{
"name": "test",
"dependencies": {
"JSONStream": "^0.8.2",
"jest-cli": "^0.1.14"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment