chore: add jest tests, cleanup rpc

This commit is contained in:
41666 2020-10-11 15:10:20 -04:00
parent 5977c35d38
commit ac830fc946
25 changed files with 2786 additions and 319 deletions

View file

@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "https://roleypoly.com",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"now-build": "build-storybook",
@ -41,12 +41,26 @@
"@storybook/react": "^6.0.26",
"@storybook/theming": "^6.0.26",
"@types/chroma-js": "2.1.0",
"@types/enzyme": "^3.10.7",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/google-protobuf": "3.7.3",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.8",
"@types/react-dom": "^16.9.8",
"@types/styled-components": "5.1.4",
"babel-jest": "^26.5.2",
"babel-loader": "^8.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.6.1",
"jest": "^26.5.3",
"jest-cli": "^26.5.2",
"jest-environment-enzyme": "^7.1.2",
"jest-enzyme": "^7.1.2",
"jest-styled-components": "^7.0.3",
"prettier": "^2.1.2",
"protoc-gen-ts": "^0.3.4",
"react-is": "^16.13.1",
"ts-jest": "^26.4.1",
"ts-protoc-gen": "^0.13.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"tslint": "6.1.3",
@ -55,4 +69,4 @@
"tslint-plugin-prettier": "^2.3.0",
"typescript": "^4.0.3"
}
}
}