Skip to content

Commit

Permalink
adds a basic test to let circleci build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrailton committed Apr 23, 2019
1 parent ca6fcfe commit 1dfefe0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -117,7 +117,7 @@ module.exports = {
// setupFiles: [],

// The path to a module that runs some code to configure or set up the testing framework before each test
setupTestFrameworkScriptFile: './tests/setup.js',
// setupTestFrameworkScriptFile: './tests/setup.js',

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],
Expand Down
5 changes: 5 additions & 0 deletions tests/sample.test.ts
@@ -0,0 +1,5 @@
describe('Sample Test', () => {
it('can add 2 numbers', () => {
expect(1 + 2).toBe(3);
});
});

0 comments on commit 1dfefe0

Please sign in to comment.