Skip to content
Permalink
Browse files

integrating Babel

  • Loading branch information
arcuri82 committed Feb 3, 2020
1 parent 6593fc7 commit c125263dff6b325bb8b0bd5f353c2d80aff37fbd
Showing with 12 additions and 5 deletions.
  1. +2 −1 .gitignore
  2. +9 −3 client-js/integration-tests/package.json
  3. +1 −1 client-js/integration-tests/src/books-api/app.js
@@ -57,4 +57,5 @@ experiments/target/
/client-js/integration-tests/check/
/client-js/integration-tests/coverage/

/e2e-tests/spring-rest-openapi-v3/target
/e2e-tests/spring-rest-openapi-v3/target
/client-js/integration-tests/build/
@@ -21,21 +21,27 @@
},
"scripts": {
"check": "babel src -d check",
"build": "babel tests src -d build/src --copy-files",
"test": "jest --coverage"
},
"babel": {
"only": ["src"],
"only": [
"src"
],
"plugins": [
"module:evomaster-client-js"
]
},
"jest": {
"testEnvironment": "node",
"testRegex": "tests/.*-test\\.(js|jsx|ts|tsx)$",
"//TODO": "should be fixed to point to other module, if possible...",
"//TODO": "should be fixed to point to other module, if possible...",
"collectCoverageFrom": [
"src/**/.*(js|jsx|ts|tsx)"
],
"transformIgnorePatterns": ["/node_modules/", "/tests/"]
"transformIgnorePatterns": [
"/node_modules/",
"/tests/"
]
}
}
@@ -242,7 +242,7 @@ app.get("/swagger.json", (req, res) => {
id: {type: "string", description: "TODO"},
title: {type: "string", description: "TODO"},
author: {type: "string", description: "TODO"},
year: {type: "numberic", description: "TODO"},
year: {type: "numeric", description: "TODO"},
},
title: "BookDto"
}

0 comments on commit c125263

Please sign in to comment.
You can’t perform that action at this time.