diff options
author | golabek <tomasz.golabek@nokia.com> | 2019-01-28 09:34:48 +0100 |
---|---|---|
committer | golabek <tomasz.golabek@nokia.com> | 2019-02-01 11:05:48 +0100 |
commit | ec4f95457ec430838feeae6da48d0fd011ddffa9 (patch) | |
tree | d7c7b40d648a66c86f47ec26fc15acc4660dee8b /vid-app-common/jest.config.js | |
parent | 974fc96fdc47cafb6f7169d197e69cb81e6df4a9 (diff) |
Introduce JS unit tests into VID
maven -> npm -> gulp -> jest frameworks added in a mentioned order.
Change-Id: I1865228973eb31188fb052e8c9629f0ac01e48a7
Issue-ID: VID-391
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'vid-app-common/jest.config.js')
-rw-r--r-- | vid-app-common/jest.config.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vid-app-common/jest.config.js b/vid-app-common/jest.config.js new file mode 100644 index 000000000..e9ca59b11 --- /dev/null +++ b/vid-app-common/jest.config.js @@ -0,0 +1,16 @@ +module.exports = { + verbose: true, + roots: [ + "<rootDir>/src/main/webapp/app" + ], + modulePaths: [ + "<rootDir>/src/main/webapp/app/vid/external" + ], + setupFilesAfterEnv: ["<rootDir>/test-config.js"], + collectCoverage: true, + collectCoverageFrom: [ + "src/**/*.js", + "!**/node_modules/**", + "!**/vendor/**" + ] +};
\ No newline at end of file |