Skip to content

Commit

Permalink
Remove tests fro 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Oct 24, 2024
1 parent baaedb8 commit 6f756d5
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/contact-summary.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,27 +186,3 @@ describe('cht.v1 in contact summary ', () => {
});
});

describe('cht.v1 in contact summary (core v4.6)', () => {
const harness = new Harness({
coreVersion: '4.6',
directory: path.join(__dirname, 'collateral', 'project-with-source'),
harnessDataPath: path.join(__dirname, 'collateral', 'harness.defaults.json'),
verbose: true,
});

before(async () => { return await harness.start(); });
after(async () => { return await harness.stop(); });
beforeEach(async () => { return await harness.clear(); });
afterEach(() => { expect(harness.consoleErrors).to.be.empty; });

it('chp.v1.analytics.getTargets undefined on core 4.6', async () => {
harness.subject = 'chw_area_id';

const targets = await harness.getTargets();
expect(targets).to.not.be.empty;

const contactSummary = await harness.getContactSummary();
expect(contactSummary.context.chtApiAnalyticsTargets).to.be.undefined;
});
});

0 comments on commit 6f756d5

Please sign in to comment.