Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
katerinachinnappan committed Oct 30, 2024
1 parent c9c29a0 commit b212a93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/curated-corpus/helpers/topics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('helper functions related to topics', () => {
expect(topics).to.be.an('array');
// However, we're getting the entire list of topics here,
// not just the ones stories belong to
expect(topics).to.have.lengthOf(17);
expect(topics).to.have.lengthOf(16);

// And we expect to see the story topics, with the correct counts
expect(topics).to.contain.deep.members([
Expand Down Expand Up @@ -94,7 +94,7 @@ describe('helper functions related to topics', () => {

it('returns a full list of topics if requested', () => {
const topics = getGroupedTopicData(data);
expect(topics).to.be.an('array').with.lengthOf(17);
expect(topics).to.be.an('array').with.lengthOf(16);
});
});
});

0 comments on commit b212a93

Please sign in to comment.