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, }