10 lines
330 B
JavaScript
10 lines
330 B
JavaScript
import { describe, it, expect } from 'vitest'
|
|
import { POI_ICON_TYPES } from '../../server/utils/poiConstants.js'
|
|
|
|
describe('poiConstants', () => {
|
|
it('exports POI_ICON_TYPES as frozen array', () => {
|
|
expect(POI_ICON_TYPES).toEqual(['pin', 'flag', 'waypoint'])
|
|
expect(Object.isFrozen(POI_ICON_TYPES)).toBe(true)
|
|
})
|
|
})
|