aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/jest.config.js
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-01 10:28:19 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-01 10:28:19 +0000
commitfd2a54c8aee2bfc4ae2f62a2eac392aad66d2578 (patch)
tree9ac2e136a34e86ab0bf44a05d706ac1597a758af /vid-app-common/jest.config.js
parenta89c613095622ccb529483c0ad37d7f23048989e (diff)
parentec4f95457ec430838feeae6da48d0fd011ddffa9 (diff)
Merge "Introduce JS unit tests into VID"
Diffstat (limited to 'vid-app-common/jest.config.js')
-rw-r--r--vid-app-common/jest.config.js16
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