Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make run-test262 understand the phase tag #595

Open
bnoordhuis opened this issue Oct 14, 2024 · 0 comments
Open

Make run-test262 understand the phase tag #595

bnoordhuis opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bnoordhuis
Copy link
Contributor

Looks like this and tells run-test262 when to expect an error:

/*---
negative:
  phase: parse
  type: SyntaxError
---*/

run-test262 understands type but not phase. phase can be one of parse, resolution (for ESM) or runtime.

As an aside: there are almost 4500 parse tests and only a couple of dozen resolution and runtime tests.

@bnoordhuis bnoordhuis added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant