diff options
| author | Elena Vilchik | 2019-12-18 17:10:10 +0100 |
|---|---|---|
| committer | Alban Auzeill | 2019-12-18 17:10:10 +0100 |
| commit | c8f0071c4f5336dfe0efc5d3c218ab49f2401264 (patch) | |
| tree | 254cd5ed9531d7c62bab4f8ec082e085795ecb8f /sonar-css-plugin/css-bundle/jest.config.js | |
| parent | 13fe08e87c8a70ffe6e248b774ef826bbe1f779d (diff) | |
| download | sonar-css-c8f0071c4f5336dfe0efc5d3c218ab49f2401264.tar.bz2 | |
Rely on NodeJS API of Stylelint to execute CSS rules (#221)
Diffstat (limited to 'sonar-css-plugin/css-bundle/jest.config.js')
| -rw-r--r-- | sonar-css-plugin/css-bundle/jest.config.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-css-plugin/css-bundle/jest.config.js b/sonar-css-plugin/css-bundle/jest.config.js new file mode 100644 index 0000000..c84d31b --- /dev/null +++ b/sonar-css-plugin/css-bundle/jest.config.js @@ -0,0 +1,9 @@ +module.exports = { + collectCoverageFrom: ["src/**/*.ts"], + moduleFileExtensions: ["js", "ts"], + testResultsProcessor: "jest-sonar-reporter", + transform: { + "^.+\\.ts$": "ts-jest" + }, + testMatch: ["<rootDir>/tests/**/*.test.ts"] +}; |
