import { expect, tap } from '@git.zone/tstest/tapbundle'; import * as smarti18n from '../ts/index.js'; tap.test('should expose country code records', async () => { expect(smarti18n.countryCodeArray.length).toBeGreaterThan(200); }); tap.test('should include Germany with phone prefix', async () => { const germany = smarti18n.countryCodeArray.find((countryArg) => countryArg.code === 'DE'); expect(germany?.name).toEqual('Germany'); expect(germany?.phonePrefix).toEqual('49'); }); export default tap.start();