Update Jest and fix loop compatibility

This commit is contained in:
Aram Chia Sarafian
2025-07-13 20:29:00 -07:00
parent 369759a3f2
commit 56f02c0f32
3 changed files with 3769 additions and 130 deletions

View File

@ -5,7 +5,7 @@ export const dynamic = 'force-dynamic';
export const revalidate = 0; export const revalidate = 0;
// Library branch locations with approximate coordinates // Library branch locations with approximate coordinates
const LIBRARY_LOCATIONS: Record<string, { lat: number; lng: number }> = { export const LIBRARY_LOCATIONS: Record<string, { lat: number; lng: number }> = {
'Beckwourth': { lat: 32.7157, lng: -117.1611 }, 'Beckwourth': { lat: 32.7157, lng: -117.1611 },
'Benjamin': { lat: 32.8328, lng: -117.2713 }, 'Benjamin': { lat: 32.8328, lng: -117.2713 },
'Balboa': { lat: 32.7330, lng: -117.1430 }, 'Balboa': { lat: 32.7330, lng: -117.1430 },

5
jest.config.js Normal file
View File

@ -0,0 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
};

3892
package-lock.json generated

File diff suppressed because it is too large Load Diff