test: add tests for the pin rendering module
parent
2e212854
No related branches found
No related tags found
Showing
- package-lock.json 26 additions, 0 deletionspackage-lock.json
- package.json 1 addition, 0 deletionspackage.json
- setupTests.ts 1 addition, 0 deletionssetupTests.ts
- src/components/Map/MapViewer/utils/config/getCanvasIcon.test.ts 100 additions, 0 deletions...mponents/Map/MapViewer/utils/config/getCanvasIcon.test.ts
- src/components/Map/MapViewer/utils/config/getCanvasIcon.ts 10 additions, 4 deletionssrc/components/Map/MapViewer/utils/config/getCanvasIcon.ts
- src/components/Map/MapViewer/utils/config/useOlMapLayers.test.ts 18 additions, 3 deletions...ponents/Map/MapViewer/utils/config/useOlMapLayers.test.ts
- src/components/Map/MapViewer/utils/config/useOlMapLayers.ts 1 addition, 1 deletionsrc/components/Map/MapViewer/utils/config/useOlMapLayers.ts
- src/components/Map/MapViewer/utils/config/useOlMapTileLayer.test.ts 77 additions, 0 deletions...ents/Map/MapViewer/utils/config/useOlMapTileLayer.test.ts
- src/components/Map/MapViewer/utils/config/useOlMapView.test.ts 1 addition, 1 deletion...omponents/Map/MapViewer/utils/config/useOlMapView.test.ts
- src/utils/canvas/getCanvas.test.ts 15 additions, 0 deletionssrc/utils/canvas/getCanvas.test.ts
- src/utils/canvas/getFontSizeToFit.test.ts 25 additions, 0 deletionssrc/utils/canvas/getFontSizeToFit.test.ts
- src/utils/canvas/getFontSizeToFit.ts 3 additions, 1 deletionsrc/utils/canvas/getFontSizeToFit.ts
- yarn.lock 24 additions, 44 deletionsyarn.lock
... | ... | @@ -76,6 +76,7 @@ |
"eslint-plugin-testing-library": "^6.0.1", | ||
"husky": "^8.0.0", | ||
"jest": "^29.7.0", | ||
"jest-canvas-mock": "^2.5.2", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"jest-junit": "^16.0.0", | ||
"jest-watch-typeahead": "^2.2.2", | ||
... | ... |
src/utils/canvas/getCanvas.test.ts
0 → 100644
src/utils/canvas/getFontSizeToFit.test.ts
0 → 100644
Please register or sign in to comment