mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
refactor(radio): expose shared country normalization
This commit is contained in:
1 parent
41b3cc1705
commit
3b1e75171a
2 files changed
+3
-1
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
import assert from 'node:assert/strict';
|
import assert from 'node:assert/strict';
|
||||||
import test from 'node:test';
|
import test from 'node:test';
|
||||||
import { normalizeRadioCountryInput } from './radioCountry.js';
|
import { normalizeRadioCountryInput } from '../layers/radio/index.js';
|
||||||
|
|
||||||
test('Radio country normalization maps ISO codes and bounded common names', () => {
|
test('Radio country normalization maps ISO codes and bounded common names', () => {
|
||||||
for (const [input, code] of [
|
for (const [input, code] of [
|
||||||
|
|||||||
@@ -138,3 +138,5 @@ export {
|
|||||||
radioTunerPointerPosition,
|
radioTunerPointerPosition,
|
||||||
buildRadioTunerTicks,
|
buildRadioTunerTicks,
|
||||||
} from '../../ui/radioTunerModel.js';
|
} from '../../ui/radioTunerModel.js';
|
||||||
|
|
||||||
|
export { normalizeRadioCountryInput } from '../../data/radioCountry.js';
|
||||||
Reference in new issue
Block a user