getCountries.test.js 266 B

123456789
  1. import metadata from '../metadata.min.json' assert { type: 'json' }
  2. import getCountries from './getCountries.js'
  3. describe('getCountries', () => {
  4. it('should get countries list', () => {
  5. expect(getCountries(metadata).indexOf('RU') > 0).to.be.true;
  6. })
  7. })