make kestrel a tak server, so that it can send and receive pois as cots data
Some checks failed
ci/woodpecker/pr/pr Pipeline failed
Some checks failed
ci/woodpecker/pr/pr Pipeline failed
This commit is contained in:
9
test/unit/poiConstants.spec.js
Normal file
9
test/unit/poiConstants.spec.js
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user