Skip to content

Instantly share code, notes, and snippets.

@mtimbs
Created February 27, 2020 14:29
Show Gist options
  • Save mtimbs/b19396360df7943ac844c6f340267a5f to your computer and use it in GitHub Desktop.
Save mtimbs/b19396360df7943ac844c6f340267a5f to your computer and use it in GitHub Desktop.
example jest test to ensure jest is configured
describe('who tests the tests?', () => {
it('can run a test', () => {
expect.hasAssertions();
expect(1).toBe(1);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment