From 0d26376b9b4b9bec57755a9d2945798b8d316e80 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Sat, 22 Dec 2018 16:51:15 +0100 Subject: [PATCH] update --- .travis.yml | 1 - jest.config.js | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2a1be32..dd088dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,6 @@ install: before_script: - yarn install -- npm install - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip - unzip consul.zip - rm -rf consul.zip diff --git a/jest.config.js b/jest.config.js index 9fac323..7f86181 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,8 +12,8 @@ module.exports = { transformIgnorePatterns: [ 'node_modules/(?!(grafana-sdk-mocks))', ], - transform: { - "^spec/.+\\.ts$": "ts-jest" + "transform": { + "^.+\\.tsx?$": "ts-jest" }, testRegex: '(\\.|/)([jt]est)\\.ts$', moduleFileExtensions: [ @@ -34,6 +34,5 @@ module.exports = { 'lcov', 'text', ], - preset: 'ts-jest', testMatch: null, }