Skip to content

Commit

Permalink
Assert es2024 is the same as builtin (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Jun 7, 2024
1 parent e1d566f commit 73ad28f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ test('es versions', t => {

previousVersion = {esVersion, globals: Object.keys(globals[esVersion])};
}

const latestVersion = esVersions.at(-1);
t.deepEqual(globals[latestVersion], globals.builtin, `'${latestVersion}' should be the same as 'builtin'.`);
});

test('globals.json', async t => {
Expand Down

0 comments on commit 73ad28f

Please sign in to comment.