UNPKG

brazilian-cities

Version:
12 lines (11 loc) 396 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("./index"); describe('queries', () => { it("should get state and city by ibgeCod", function () { var city = index_1.getCityByIbgeCod(293020); expect(city.cod).toBe('sento-se'); expect(city.ibgeCod).toBe(293020); expect(city.state.cod).toBe('ba'); }); });