Update activityChart.test.js

Hmm this failed locally but not when committed. Reverting.
This commit is contained in:
Jonathan Bobel
2025-03-06 15:19:27 -05:00
parent 71f7ed051c
commit bd96cc1d20

View File

@@ -199,7 +199,7 @@ test('Fetches data and creates chart and table correctly', async () => {
const data = await fetchData('service');
expect(global.fetch).toHaveBeenCalledWith(`/services/${currentServiceId}/daily-stats.json?timezone=America%2FNew_York`);
expect(global.fetch).toHaveBeenCalledWith(`/services/${currentServiceId}/daily-stats.json?timezone=UTC`);
expect(data).toEqual(mockResponse);
const labels = Object.keys(mockResponse).map(dateString => {