As the REST API is a part of the core, it is more appropriate for the tests to reside there as well. Further refactoring of the testing needs to be done to allow multiple components to use the same framework but with different tests.
20 lines
494 B
JSON
20 lines
494 B
JSON
{
|
|
"name": "rest-api-tests",
|
|
"version": "1.0.0",
|
|
"repository": "https://github.com/mariadb-corporation/MaxScale",
|
|
"description": "MaxScale REST API tests",
|
|
"scripts": {
|
|
"test": "mocha --timeout 30000 --slow 10000"
|
|
},
|
|
"author": "",
|
|
"license": "SEE LICENSE IN ../../../../LICENSE.txt",
|
|
"dependencies": {
|
|
"ajv": "^5.0.1",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"mocha": "^3.3.0",
|
|
"request": "^2.81.0",
|
|
"request-promise-native": "^1.0.3"
|
|
}
|
|
}
|