Skip to content

Commit 5b9fa1c

Browse files
committed
fixup!
1 parent a3a79be commit 5b9fa1c

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/generators/web/utils/__tests__/config.test.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,11 @@ const makeEntry = (api, name, path) => ({
4949

5050
describe('buildVersionEntries', () => {
5151
it('creates version entries with labels and URL templates', () => {
52-
const config = {
53-
changelog: [
52+
const result = buildVersionEntries(
53+
[
5454
{ version: new SemVer('20.0.0'), isLts: true, isCurrent: false },
5555
{ version: new SemVer('22.0.0'), isLts: false, isCurrent: true },
5656
],
57-
};
58-
59-
const result = buildVersionEntries(
60-
config,
6157
'https://nodejs.org/docs/latest-{version}/api{path}.html'
6258
);
6359

0 commit comments

Comments
 (0)