From 09cf0924b0865652933836e710d6d30d20f5da7b Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Wed, 25 Nov 2020 17:15:03 +0000 Subject: [PATCH] Revert changes within provider --- provider/jest.config.js | 12 +++++++----- provider/package.json | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/provider/jest.config.js b/provider/jest.config.js index c439efc..334ac70 100644 --- a/provider/jest.config.js +++ b/provider/jest.config.js @@ -1,7 +1,9 @@ module.exports = { - roots: ['/tests'], - testMatch: ['**/*.test.ts'], - transform: { - '^.+\\.ts$': 'ts-jest', + "roots": [ + "/tests" + ], + testMatch: [ '**/*.test.ts'], + "transform": { + "^.+\\.tsx?$": "ts-jest" }, -}; + } diff --git a/provider/package.json b/provider/package.json index 2827233..23bb120 100644 --- a/provider/package.json +++ b/provider/package.json @@ -13,7 +13,7 @@ "compile": "npm run clean && npm run -- tsc --outDir build/ --declaration false && npm run get-sops && cp -R ./sops ./build/", "quick-compile": "npm run -- tsc --outDir build/ --declaration false && ([[ -f ./sops ]] || npm run get-sops) && cp ./sops ./build/", "test": "jest", - "lint": "eslint 'index.ts' 'tests/**/*.ts' jest.config.js --quiet --fix", + "lint": "eslint 'index.ts' 'tests/**/*.ts' --quiet --fix", "lint-check": "eslint 'index.ts' 'tests/**/*.ts' --max-warnings 0" }, "dependencies": {