twenty-eight-days / TwentyEightDaysNative

Privacy-First Cycle Tracking App (React Native, iOS/Android)
MIT License
1 stars 0 forks source link

Bar chart #22

Closed geccy25 closed 2 years ago

geccy25 commented 2 years ago

Bar Chart für Cycle Duration einbinden mit https://d3js.org/

PiecePaperCode commented 2 years ago

Jest would not test the Barchart Library. This problem is mitigated by using following jest configuration inside the package.json

"jest": {
    "preset": "react-native",
    "transform": {},
    "transformIgnorePatterns": [
      "/node_modules/(?!(@react-native|react-native|react-native-chart-kit|@react-native-community/datetimepicker)/).*/"
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }
PiecePaperCode commented 2 years ago

image Implemented with react-native-chart-kit