-
- Downloads
Finir de mettre en place les tests unitaires
Sigma contient maintenant tout le code nécéssaire pour éxecuter une suite de tests unitaires. Il ne reste maintenant qu'a rentrer manuellement un certaine nombre de requêtes à tester.
This diff is collapsed.
... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
"start": "nodemon --watch build build/bundle.js", | "start": "nodemon --watch build build/bundle.js", | ||
"doc": "jsdoc -c configfile_doc.json", | "doc": "jsdoc -c configfile_doc.json", | ||
"lint": "eslint src/", | "lint": "eslint src/", | ||
"test": "mocha" | "test": "mocha --exit" | ||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -57,6 +57,7 @@ | ... | @@ -57,6 +57,7 @@ |
"@types/node": "^10.10.3", | "@types/node": "^10.10.3", | ||
"@types/passport": "^0.4.6", | "@types/passport": "^0.4.6", | ||
"babel-eslint": "^8.2.6", | "babel-eslint": "^8.2.6", | ||
"chai": "^4.2.0", | |||
"eslint": "^4.19.1", | "eslint": "^4.19.1", | ||
"eslint-config-standard": "^11.0.0", | "eslint-config-standard": "^11.0.0", | ||
"eslint-loader": "^2.1.1", | "eslint-loader": "^2.1.1", | ||
... | @@ -64,16 +65,15 @@ | ... | @@ -64,16 +65,15 @@ |
"eslint-plugin-node": "^6.0.1", | "eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-promise": "^3.8.0", | "eslint-plugin-promise": "^3.8.0", | ||
"eslint-plugin-standard": "^3.1.0", | "eslint-plugin-standard": "^3.1.0", | ||
"graphql-request": "^1.8.2", | |||
"jsdoc": "^3.5.5", | "jsdoc": "^3.5.5", | ||
"mocha": "^5.2.0", | |||
"nodemon": "^1.18.4", | "nodemon": "^1.18.4", | ||
"ts-loader": "^4.5.0", | "ts-loader": "^4.5.0", | ||
"typescript": "^3.0.3", | "typescript": "^3.0.3", | ||
"webpack": "^4.19.1", | "webpack": "^4.19.1", | ||
"webpack-cli": "^2.1.5", | "webpack-cli": "^2.1.5", | ||
"webpack-graphql-loader": "^1.0.0", | "webpack-graphql-loader": "^1.0.0", | ||
"webpack-node-externals": "^1.7.2", | "webpack-node-externals": "^1.7.2" | ||
"mocha": "^5.2.0", | |||
"chai": "^4.2.0", | |||
"graphql-request" : "^1.8.2" | |||
} | } | ||
} | } |
Please register or sign in to comment