a-laughlin / 3308proj

1 stars 0 forks source link

Implement Web Build/Test #129

Closed a-laughlin closed 5 years ago

a-laughlin commented 5 years ago

Story

As devs, we should be able to run and test the web part locally so we can getting familiar with it. Note that this excludes the mobile switch over with our dev tooling, where web tests will start running on Travis as Mobile tests do now.

Acceptance Criteria

Depends On

Relates To

a-laughlin commented 5 years ago

note to self:

"dependencies": {
  "react": "16.8.1",
  "react-dom": "16.8.1",
  "recharts":"*",
  "axios":"*"
},
"devDependencies":{
  "eslint-plugin-react-hooks": "1.0.1",
  "react-testing-library": "*",
  "react-hooks-testing-library": "*",
  "snapshot-diff":"*"
},
"eslintConfig":{
  "plugins": [
    "react-hooks"
  ],
  "rules": {
    "react-hooks/rules-of-hooks": "error"
  }
},

https://github.com/jest-community/snapshot-diff