src/app/lib/analyticsUtils/getAmpDestination/index.test.js
/* eslint-disable no-template-curly-in-string */
import getAmpDestination from './index';
describe('getAmpDestination', () => {
it('should construct the correct AMP expression for NEWS_PS', () => {
expect(getAmpDestination({ PS: 598285, GNL: 598287 })).toBe(
'$IF($EQUALS($MATCH(${ampGeo}, gbOrUnknown, 0), gbOrUnknown), 598285, 598287)',
);
});
});