Skip to content

Commit

Permalink
chore(test): update ecmascript tests (#448)
Browse files Browse the repository at this point in the history
This PR updates the ecmascript tests using the instructions here:

https://github.com/vercel/nft/blob/main/test/ecmascript/README.md

We are currently failing a couple new test categories, `RegExp Pattern
Modifiers` (stage 4) and `Duplicate named capturing groups` (stage 3),
so those are skipped for now.

In a future PR, we can try updating `acorn` to see if fixes those tests.
  • Loading branch information
styfle authored Oct 29, 2024
1 parent b3d2da0 commit e7f8984
Show file tree
Hide file tree
Showing 6 changed files with 2,647 additions and 1,374 deletions.
2 changes: 2 additions & 0 deletions test/ecmascript.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const ignoreCategories = new Set([
'Generator function.sent Meta Property',
'Class and Property Decorators',
'throw expressions',
'RegExp Pattern Modifiers',
'Duplicate named capturing groups',
]);

async function runTests(importPath) {
Expand Down
Loading

0 comments on commit e7f8984

Please sign in to comment.