Added a test suite to the Visual Console Client

Former-commit-id: 63f6ff074881ada085ac550a0e022bc7d4250ec0
This commit is contained in:
Alejandro Gallardo Escobar 2019-02-22 13:29:48 +01:00
parent 589c5c97bf
commit 5e3cdbdcf8
3 changed files with 8016 additions and 2 deletions

View File

@ -0,0 +1,8 @@
module.exports = {
roots: ["<rootDir>/src"],
transform: {
"^.+\\.tsx?$": "ts-jest"
},
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"]
};

8002
visual_console/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,8 @@
"version": "1.0.0",
"description": "Visual Console",
"scripts": {
"test": "echo \"Not implemented\" && exit 1",
"test": "jest",
"test:watch": "jest --watch",
"build": "webpack --mode=production",
"build:dev": "webpack --mode=development",
"build:watch": "webpack --mode=development --watch",
@ -22,6 +23,7 @@
},
"homepage": "https://github.com/pandorafms/pandorafms#readme",
"dependencies": {
"@types/jest": "^24.0.6",
"@typescript-eslint/eslint-plugin": "^1.1.1",
"@typescript-eslint/parser": "^1.1.1",
"awesome-typescript-loader": "^5.2.1",
@ -30,8 +32,10 @@
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-prettier": "^3.0.1",
"file-loader": "^3.0.1",
"jest": "^24.1.0",
"prettier": "^1.16.1",
"typescript": "^3.2.4",
"ts-jest": "^24.0.0",
"typescript": "^3.3.3333",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14"