import {describe, it} from 'node:test'; import assert from 'node:assert/strict'; import { mapIcmsToMcfJobCategory, mapMcfToIcmsJobCategory, mapMcfToMsfJobCategory, mapMsfToMcfJobCategory, } from './jobCategories'; describe('mapIcmsToMcfJobCategory', () => { it('should map to Customer Service when id is 532010', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532010), {id: 8, category: 'Customer Service'}); }); it('should map to Information Technology when id is 532022', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532022), { category: 'Information Technology', id: 21, }); }); it('should map to Travel / Tourism when id is 532042', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532042), { category: 'Travel / Tourism', id: 40, }); }); it('should map to Admin / Secretarial when id is 532002', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532002), { category: 'Admin / Secretarial', id: 2, }); }); it('should map to Building and Construction when id is 532008', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532008), { category: 'Building and Construction', id: 6, }); }); it('should map to Education and Training when id is 532012', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532012), { category: 'Education and Training', id: 10, }); }); it('should map to Sales / Retail when id is 532038', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532038), { category: 'Sales / Retail', id: 35, }); }); it('should map to Others when id is 532030', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532030), { category: 'Others', id: 41, }); }); it('should map to Real Estate / Property Management when id is 532035', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532035), { category: 'Real Estate / Property Management', id: 32, }); }); it('should map to Engineering when id is 532013', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532013), { category: 'Engineering', id: 11, }); }); it('should map to Advertising / Media when id is 532003', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532003), { category: 'Advertising / Media', id: 3, }); }); it('should map to Events / Promotions when id is 532016', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532016), { category: 'Events / Promotions', id: 14, }); }); it('should map to Marketing / Public Relations when id is 532028', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532028), { category: 'Marketing / Public Relations', id: 26, }); }); it('should map to Design when id is 532011', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532011), { category: 'Design', id: 9, }); }); it('should map to Public / Civil Service when id is 532033', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532033), { category: 'Public / Civil Service', id: 30, }); }); it('should map to Accounting / Auditing / Taxation when id is 532001', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532001), { category: 'Accounting / Auditing / Taxation', id: 1, }); }); it('should map to Human Resources when id is 532021', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532021), { category: 'Human Resources', id: 20, }); }); it('should map to Sciences / Laboratory / R&D when id is 532039', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532039), { category: 'Sciences / Laboratory / R&D', id: 36, }); }); it('should map to Personal Care / Beauty when id is 532031', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532031), { category: 'Personal Care / Beauty', id: 28, }); }); it('should map to Logistics / Supply Chain when id is 532025', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532025), { category: 'Logistics / Supply Chain', id: 24, }); }); it('should map to Healthcare / Pharmaceutical when id is 532019', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532019), { category: 'Healthcare / Pharmaceutical', id: 18, }); }); it('should map to F&B when id is 532017', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532017), { category: 'F&B', id: 15, }); }); it('should map to Medical / Therapy Services when id is 532029', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532029), { category: 'Medical / Therapy Services', id: 27, }); }); it('should map to Consulting when id is 532005', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532005), { category: 'Consulting', id: 7, }); }); it('should map to Risk Management when id is 532006', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532006), { category: 'Risk Management', id: 34, }); }); it('should map to Professional Services when id is 532032', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532032), { category: 'Professional Services', id: 29, }); }); it('should map to Insurance when id is 532023', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532023), { category: 'Insurance', id: 22, }); }); it('should map to Telecommunications when id is 532041', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532041), { category: 'Telecommunications', id: 39, }); }); it('should map to Social Services when id is 532009', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532009), { category: 'Social Services', id: 38, }); }); it('should map to Security and Investigation when id is 532040', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532040), { category: 'Security and Investigation', id: 37, }); }); it('should map to General Management when id is 532026', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532026), { category: 'General Management', id: 16, }); }); it('should map to Manufacturing when id is 532027', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532027), { category: 'Manufacturing', id: 25, }); }); it('should map to Banking and Finance when id is 532007', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532007), { category: 'Banking and Finance', id: 5, }); }); it('should map to Hospitality when id is 532020', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532020), { category: 'Hospitality', id: 19, }); }); it('should map to General Work when id is 532018', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532018), { category: 'General Work', id: 17, }); }); it('should map to Repair and Maintenance when id is 532036', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532036), { category: 'Repair and Maintenance', id: 33, }); }); it('should map to Architecture / Interior Design when id is 532004', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532004), { category: 'Architecture / Interior Design', id: 4, }); }); it('should map to Environment / Health when id is 532015', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532015), { category: 'Environment / Health', id: 13, }); }); it('should map to Purchasing / Merchandising when id is 532034', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532034), { category: 'Purchasing / Merchandising', id: 31, }); }); it('should map to Legal when id is 532024', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532024), { category: 'Legal', id: 23, }); }); it('should map to Entertainment when id is 532014', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532014), { category: 'Entertainment', id: 12, }); }); it('should map to Wholesale Trade when id is 532043', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532043), { category: 'Wholesale Trade', id: 42, }); }); it('should map to Precision Engineering when id is 532044', () => { assert.deepStrictEqual(mapIcmsToMcfJobCategory(532044), { category: 'Precision Engineering', id: 43, }); }); }); describe('mapMcfToIcmsJobCategory', () => { it('should map to Customer Service when id is 8', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(8), {id: 532010, category: 'Customer Service'}); }); it('should map to Information Technology when id is 21', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(21), { category: 'Information Technology', id: 532022, }); }); it('should map to Travel / Tourism when id is 40', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(40), { category: 'Travel / Tourism', id: 532042, }); }); it('should map to Admin / Secretarial when id is 2', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(2), { category: 'Admin / Secretarial', id: 532002, }); }); it('should map to Building and Construction when id is 6', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(6), { category: 'Building and Construction', id: 532008, }); }); it('should map to Education and Training when id is 10', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(10), { category: 'Education and Training', id: 532012, }); }); it('should map to Sales / Retail when id is 35', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(35), { category: 'Sales / Retail', id: 532038, }); }); it('should map to Others when id is 41', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(41), { category: 'Others', id: 532030, }); }); it('should map to Real Estate / Property Management when id is 32', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(32), { category: 'Real Estate / Property Management', id: 532035, }); }); it('should map to Engineering when id is 11', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(11), { category: 'Engineering', id: 532013, }); }); it('should map to Advertising / Media when id is 3', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(3), { category: 'Advertising / Media', id: 532003, }); }); it('should map to Events / Promotions when id is 14', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(14), { category: 'Events / Promotions', id: 532016, }); }); it('should map to Marketing / Public Relations when id is 26', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(26), { category: 'Marketing / Public Relations', id: 532028, }); }); it('should map to Design when id is 9', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(9), { category: 'Design', id: 532011, }); }); it('should map to Public / Civil Service when id is 30', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(30), { category: 'Public / Civil Service', id: 532033, }); }); it('should map to Accounting / Auditing / Taxation when id is 1', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(1), { category: 'Accounting / Auditing / Taxation', id: 532001, }); }); it('should map to Human Resources when id is 20', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(20), { category: 'Human Resources', id: 532021, }); }); it('should map to Sciences / Laboratory / R&D when id is 36', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(36), { category: 'Sciences / Laboratory / R&D', id: 532039, }); }); it('should map to Personal Care / Beauty when id is 28', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(28), { category: 'Personal Care / Beauty', id: 532031, }); }); it('should map to Logistics / Supply Chain when id is 24', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(24), { category: 'Logistics / Supply Chain', id: 532025, }); }); it('should map to Healthcare / Pharmaceutical when id is 18', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(18), { category: 'Healthcare / Pharmaceutical', id: 532019, }); }); it('should map to F&B when id is 15', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(15), { category: 'F&B', id: 532017, }); }); it('should map to Medical / Therapy Services when id is 27', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(27), { category: 'Medical / Therapy Services', id: 532029, }); }); it('should map to Consulting when id is 7', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(7), { category: 'Consulting', id: 532005, }); }); it('should map to Risk Management when id is 34', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(34), { category: 'Risk Management', id: 532006, }); }); it('should map to Professional Services when id is 29', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(29), { category: 'Professional Services', id: 532032, }); }); it('should map to Insurance when id is 22', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(22), { category: 'Insurance', id: 532023, }); }); it('should map to Telecommunications when id is 39', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(39), { category: 'Telecommunications', id: 532041, }); }); it('should map to Social Services when id is 38', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(38), { category: 'Social Services', id: 532009, }); }); it('should map to Security and Investigation when id is 37', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(37), { category: 'Security and Investigation', id: 532040, }); }); it('should map to General Management when id is 16', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(16), { category: 'General Management', id: 532026, }); }); it('should map to Manufacturing when id is 25', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(25), { category: 'Manufacturing', id: 532027, }); }); it('should map to Banking and Finance when id is 5', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(5), { category: 'Banking and Finance', id: 532007, }); }); it('should map to Hospitality when id is 19', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(19), { category: 'Hospitality', id: 532020, }); }); it('should map to General Work when id is 17', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(17), { category: 'General Work', id: 532018, }); }); it('should map to Repair and Maintenance when id is 33', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(33), { category: 'Repair and Maintenance', id: 532036, }); }); it('should map to Architecture / Interior Design when id is 4', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(4), { category: 'Architecture / Interior Design', id: 532004, }); }); it('should map to Environment / Health when id is 13', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(13), { category: 'Environment / Health', id: 532015, }); }); it('should map to Purchasing / Merchandising when id is 31', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(31), { category: 'Purchasing / Merchandising', id: 532034, }); }); it('should map to Legal when id is 23', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(23), { category: 'Legal', id: 532024, }); }); it('should map to Entertainment when id is 12', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(12), { category: 'Entertainment', id: 532014, }); }); it('should map to Wholesale Trade when id is 42', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(42), { category: 'Wholesale Trade', id: 532043, }); }); it('should map to Precision Engineering when id is 43', () => { assert.deepStrictEqual(mapMcfToIcmsJobCategory(43), { category: 'Precision Engineering', id: 532044, }); }); }); describe('mapMsfToMcfJobCategory', () => { it('should map to Customer Service when id is 8', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(8), {id: 8, category: 'Customer Service'}); }); it('should map to Information Technology when id is 21', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(21), { category: 'Information Technology', id: 21, }); }); it('should map to Travel / Tourism when id is 40', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(40), { category: 'Travel / Tourism', id: 40, }); }); it('should map to Admin / Secretarial when id is 2', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(2), { category: 'Admin / Secretarial', id: 2, }); }); it('should map to Building and Construction when id is 6', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(6), { category: 'Building and Construction', id: 6, }); }); it('should map to Education and Training when id is 10', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(10), { category: 'Education and Training', id: 10, }); }); it('should map to Sales / Retail when id is 35', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(35), { category: 'Sales / Retail', id: 35, }); }); it('should map to Others when id is 41', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(41), { category: 'Others', id: 41, }); }); it('should map to Real Estate / Property Management when id is 32', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(32), { category: 'Real Estate / Property Management', id: 32, }); }); it('should map to Engineering when id is 11', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(11), { category: 'Engineering', id: 11, }); }); it('should map to Advertising / Media when id is 3', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(3), { category: 'Advertising / Media', id: 3, }); }); it('should map to Events / Promotions when id is 14', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(14), { category: 'Events / Promotions', id: 14, }); }); it('should map to Marketing / Public Relations when id is 26', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(26), { category: 'Marketing / Public Relations', id: 26, }); }); it('should map to Design when id is 9', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(9), { category: 'Design', id: 9, }); }); it('should map to Public / Civil Service when id is 30', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(30), { category: 'Public / Civil Service', id: 30, }); }); it('should map to Accounting / Auditing / Taxation when id is 1', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(1), { category: 'Accounting / Auditing / Taxation', id: 1, }); }); it('should map to Human Resources when id is 20', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(20), { category: 'Human Resources', id: 20, }); }); it('should map to Sciences / Laboratory / R&D when id is 36', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(36), { category: 'Sciences / Laboratory / R&D', id: 36, }); }); it('should map to Personal Care / Beauty when id is 28', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(28), { category: 'Personal Care / Beauty', id: 28, }); }); it('should map to Logistics / Supply Chain when id is 24', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(24), { category: 'Logistics / Supply Chain', id: 24, }); }); it('should map to Healthcare / Pharmaceutical when id is 18', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(18), { category: 'Healthcare / Pharmaceutical', id: 18, }); }); it('should map to F&B when id is 15', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(15), { category: 'F&B', id: 15, }); }); it('should map to Medical / Therapy Services when id is 27', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(27), { category: 'Medical / Therapy Services', id: 27, }); }); it('should map to Consulting when id is 7', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(7), { category: 'Consulting', id: 7, }); }); it('should map to Risk Management when id is 34', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(34), { category: 'Risk Management', id: 34, }); }); it('should map to Professional Services when id is 29', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(29), { category: 'Professional Services', id: 29, }); }); it('should map to Insurance when id is 22', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(22), { category: 'Insurance', id: 22, }); }); it('should map to Telecommunications when id is 39', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(39), { category: 'Telecommunications', id: 39, }); }); it('should map to Social Services when id is 38', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(38), { category: 'Social Services', id: 38, }); }); it('should map to Security and Investigation when id is 37', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(37), { category: 'Security and Investigation', id: 37, }); }); it('should map to General Management when id is 16', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(16), { category: 'General Management', id: 16, }); }); it('should map to Manufacturing when id is 25', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(25), { category: 'Manufacturing', id: 25, }); }); it('should map to Banking and Finance when id is 5', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(5), { category: 'Banking and Finance', id: 5, }); }); it('should map to Hospitality when id is 19', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(19), { category: 'Hospitality', id: 19, }); }); it('should map to General Work when id is 17', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(17), { category: 'General Work', id: 17, }); }); it('should map to Repair and Maintenance when id is 33', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(33), { category: 'Repair and Maintenance', id: 33, }); }); it('should map to Architecture / Interior Design when id is 4', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(4), { category: 'Architecture / Interior Design', id: 4, }); }); it('should map to Environment / Health when id is 13', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(13), { category: 'Environment / Health', id: 13, }); }); it('should map to Purchasing / Merchandising when id is 31', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(31), { category: 'Purchasing / Merchandising', id: 31, }); }); it('should map to Legal when id is 23', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(23), { category: 'Legal', id: 23, }); }); it('should map to Entertainment when id is 12', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(12), { category: 'Entertainment', id: 12, }); }); it('should map to Wholesale Trade when id is 42', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(42), { category: 'Wholesale Trade', id: 42, }); }); it('should map to Precision Engineering when id is 43', () => { assert.deepStrictEqual(mapMsfToMcfJobCategory(43), { category: 'Precision Engineering', id: 43, }); }); }); describe('mapMcfToMsfJobCategory', () => { it('should map to Customer Service when id is 8', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(8), {jobCategoryId: 8, jobCategoryName: 'Customer Service'}); }); it('should map to Information Technology when id is 21', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(21), { jobCategoryId: 21, jobCategoryName: 'Information Technology', }); }); it('should map to Travel / Tourism when id is 40', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(40), { jobCategoryId: 40, jobCategoryName: 'Travel / Tourism', }); }); it('should map to Admin / Secretarial when id is 2', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(2), { jobCategoryId: 2, jobCategoryName: 'Admin / Secretarial', }); }); it('should map to Building and Construction when id is 6', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(6), { jobCategoryId: 6, jobCategoryName: 'Building and Construction', }); }); it('should map to Education and Training when id is 10', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(10), { jobCategoryId: 10, jobCategoryName: 'Education and Training', }); }); it('should map to Sales / Retail when id is 35', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(35), { jobCategoryId: 35, jobCategoryName: 'Sales / Retail', }); }); it('should map to Others when id is 41', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(41), { jobCategoryId: 41, jobCategoryName: 'Others', }); }); it('should map to Real Estate / Property Management when id is 32', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(32), { jobCategoryId: 32, jobCategoryName: 'Real Estate / Property Management', }); }); it('should map to Engineering when id is 11', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(11), { jobCategoryId: 11, jobCategoryName: 'Engineering', }); }); it('should map to Advertising / Media when id is 3', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(3), { jobCategoryId: 3, jobCategoryName: 'Advertising / Media', }); }); it('should map to Events / Promotions when id is 14', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(14), { jobCategoryId: 14, jobCategoryName: 'Events / Promotions', }); }); it('should map to Marketing / Public Relations when id is 26', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(26), { jobCategoryId: 26, jobCategoryName: 'Marketing / Public Relations', }); }); it('should map to Design when id is 9', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(9), { jobCategoryId: 9, jobCategoryName: 'Design', }); }); it('should map to Public / Civil Service when id is 30', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(30), { jobCategoryId: 30, jobCategoryName: 'Public / Civil Service', }); }); it('should map to Accounting / Auditing / Taxation when id is 1', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(1), { jobCategoryId: 1, jobCategoryName: 'Accounting / Auditing / Taxation', }); }); it('should map to Human Resources when id is 20', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(20), { jobCategoryId: 20, jobCategoryName: 'Human Resources', }); }); it('should map to Sciences / Laboratory / R&D when id is 36', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(36), { jobCategoryId: 36, jobCategoryName: 'Sciences / Laboratory / R&D', }); }); it('should map to Personal Care / Beauty when id is 28', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(28), { jobCategoryId: 28, jobCategoryName: 'Personal Care / Beauty', }); }); it('should map to Logistics / Supply Chain when id is 24', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(24), { jobCategoryId: 24, jobCategoryName: 'Logistics / Supply Chain', }); }); it('should map to Healthcare / Pharmaceutical when id is 18', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(18), { jobCategoryId: 18, jobCategoryName: 'Healthcare / Pharmaceutical', }); }); it('should map to F&B when id is 15', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(15), { jobCategoryId: 15, jobCategoryName: 'F&B', }); }); it('should map to Medical / Therapy Services when id is 27', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(27), { jobCategoryId: 27, jobCategoryName: 'Medical / Therapy Services', }); }); it('should map to Consulting when id is 7', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(7), { jobCategoryId: 7, jobCategoryName: 'Consulting', }); }); it('should map to Risk Management when id is 34', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(34), { jobCategoryId: 34, jobCategoryName: 'Risk Management', }); }); it('should map to Professional Services when id is 29', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(29), { jobCategoryId: 29, jobCategoryName: 'Professional Services', }); }); it('should map to Insurance when id is 22', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(22), { jobCategoryId: 22, jobCategoryName: 'Insurance', }); }); it('should map to Telecommunications when id is 39', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(39), { jobCategoryId: 39, jobCategoryName: 'Telecommunications', }); }); it('should map to Social Services when id is 38', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(38), { jobCategoryId: 38, jobCategoryName: 'Social Services', }); }); it('should map to Security and Investigation when id is 37', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(37), { jobCategoryId: 37, jobCategoryName: 'Security and Investigation', }); }); it('should map to General Management when id is 16', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(16), { jobCategoryId: 16, jobCategoryName: 'General Management', }); }); it('should map to Manufacturing when id is 25', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(25), { jobCategoryId: 25, jobCategoryName: 'Manufacturing', }); }); it('should map to Banking and Finance when id is 5', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(5), { jobCategoryId: 5, jobCategoryName: 'Banking and Finance', }); }); it('should map to Hospitality when id is 19', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(19), { jobCategoryId: 19, jobCategoryName: 'Hospitality', }); }); it('should map to General Work when id is 17', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(17), { jobCategoryId: 17, jobCategoryName: 'General Work', }); }); it('should map to Repair and Maintenance when id is 33', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(33), { jobCategoryId: 33, jobCategoryName: 'Repair and Maintenance', }); }); it('should map to Architecture / Interior Design when id is 4', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(4), { jobCategoryId: 4, jobCategoryName: 'Architecture / Interior Design', }); }); it('should map to Environment / Health when id is 13', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(13), { jobCategoryId: 13, jobCategoryName: 'Environment / Health', }); }); it('should map to Purchasing / Merchandising when id is 31', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(31), { jobCategoryId: 31, jobCategoryName: 'Purchasing / Merchandising', }); }); it('should map to Legal when id is 23', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(23), { jobCategoryId: 23, jobCategoryName: 'Legal', }); }); it('should map to Entertainment when id is 12', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(12), { jobCategoryId: 12, jobCategoryName: 'Entertainment', }); }); it('should map to Wholesale Trade when id is 42', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(42), { jobCategoryId: 42, jobCategoryName: 'Wholesale Trade', }); }); it('should map to Precision Engineering when id is 43', () => { assert.deepStrictEqual(mapMcfToMsfJobCategory(43), { jobCategoryId: 43, jobCategoryName: 'Precision Engineering', }); }); });