Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/__tests__/unit/components/ChapterMap.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('ChapterMap', () => {
[-90, -180],
[90, 180],
],
maxBoundsViscosity: 1.0,
maxBoundsViscosity: 1,
scrollWheelZoom: false,
zoomControl: false,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ describe('DonutBarChart Component Test Suite', () => {
const chartSeries = JSON.parse(chart.dataset.series || '[]')

// Should be rounded to 1 decimal place
expect(chartSeries).toEqual([1000000.0, 1000000.0, 2000000.5])
expect(chartSeries).toEqual([1000000, 1000000, 2000000.5])
})

it('handles negative values', () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/__tests__/unit/data/mockCommitteeDetailsData.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const mockCommitteeDetailsData = {
committee: {
name: 'Test Committee',
updatedAt: 1734103212.0,
updatedAt: 1734103212,
leaders: ['Leader 1', 'Leader 2'],
url: 'https://owasp.org/test-committee',
summary: 'This is a test committee summary.',
Expand Down
2 changes: 1 addition & 1 deletion frontend/__tests__/unit/data/mockSnapshotData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const mockSnapshotDetailsData = {
name: '',
},
],
updatedAt: 1727353371.0,
updatedAt: 1727353371,
url: 'https://owasp.org/www-chapter-sivagangai',
relatedUrls: [],
geoLocation: {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ChapterMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ChapterMap = ({
[-90, -180],
[90, 180],
],
maxBoundsViscosity: 1.0,
maxBoundsViscosity: 1,
scrollWheelZoom: false,
zoomControl: false,
}).setView([20, 0], 2)
Expand Down