Skip to content

Instantly share code, notes, and snippets.

@ddialar
Last active August 12, 2017 11:34
Show Gist options
  • Save ddialar/88c0b650fe8cf3a74eac7bdfb051ca8a to your computer and use it in GitHub Desktop.
Save ddialar/88c0b650fe8cf3a74eac7bdfb051ca8a to your computer and use it in GitHub Desktop.
import 'jest';
import * as app from '../src/app';
describe('Testing the use of the \'calculator\' module', () => {
test('Testing doASum ...', () => {
expect(app.doASum()).toEqual(15);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment