From 1dfefe021b490d52938502b4000b2af1bcb71341 Mon Sep 17 00:00:00 2001 From: Mark Railton Date: Tue, 23 Apr 2019 18:59:20 +0100 Subject: [PATCH] adds a basic test to let circleci build --- jest.config.js | 2 +- tests/sample.test.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/sample.test.ts diff --git a/jest.config.js b/jest.config.js index cf07137..946d1b9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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: [], diff --git a/tests/sample.test.ts b/tests/sample.test.ts new file mode 100644 index 0000000..6889fbe --- /dev/null +++ b/tests/sample.test.ts @@ -0,0 +1,5 @@ +describe('Sample Test', () => { + it('can add 2 numbers', () => { + expect(1 + 2).toBe(3); + }); +});