Skip to content

Commit

Permalink
hotfix: fix brittle date-based unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Oct 18, 2024
1 parent 3164cd7 commit 851b085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/site/next-data/generators/__tests__/releaseData.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ describe('generateReleaseData', () => {
expect(release.version).toBe('14.0.0');
expect(release.versionWithPrefix).toBe('v14.0.0');
expect(release.codename).toBe('');
expect(release.isLts).toBe(true);
expect(release.isLts).toBe(false);
expect(release.npm).toBe('6.14.10');
expect(release.v8).toBe('8.0.276.20');
expect(release.releaseDate).toBe('2021-04-20');
expect(release.modules).toBe('83');
expect(release.status).toBe('LTS');
expect(release.status).toBe('End-of-life');
});
});

0 comments on commit 851b085

Please sign in to comment.