Your IP : 216.73.217.95


Current Path : /home/deltalab/PMS/partner-manager-backend/test/
Upload File :
Current File : //home/deltalab/PMS/partner-manager-backend/test/country.test.js

/**
 * This is a simple test example.
 *
 * You can use this as a template for other examples
 */

// DEPENDENCIES ====================================
const { expect, assert } = require('chai');
const { dotenv } = require('dotenv').config();

// RESOURCES =======================================
const { countryCodes } = require('../services/utils/countrycodes');

// TEST CASES ======================================
describe('country', () => {
  it('country name to code', () => {
    const countryName = 'Italy';
    const countryCode = countryCodes[countryName];
    expect(countryCode).to.eq('IT');
    expect(countryCode).not.eq('UK');
  });
});