message: Updated unit test to include assertion that we are not fetching translations twice.
diff: @@ -127,18 +127,24 @@ describe('GVL', (): void => {
  });
  - it('should produce a clone with the same language as the original gvl', async (): Promise<void> => {
  + it('should produce a clone with the same language as the original gvl using its language cache', async (): Promise<void> => {
  const fetchStub = sinon.stub(Json, 'fetch');
  const gvl: GVL = new GVL(vendorlistJson);
  expect(gvl.language).to.equal(GVL.DEFAULT_LANGUAGE);
  fetchStub.resolves(vendorlistJson);
  + /*
  + * We test fetchStub call count for both calls to make sure that we are only fetching translations for
  + * the language once, when we 'changeLanguage' is called. Calling the 'clone' function should grab the
  + * translations from the cache and call count will remain at 1. */
  await gvl.changeLanguage('fr');
  expect(gvl.language).to.equal('FR');
  + expect(fetchStub.callCount).to.equal(1);
  const clone: GVL = gvl.clone();
  expect(clone.language).to.equal('FR');
  + expect(fetchStub.callCount).to.equal(1);
  fetchStub.restore();
  