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

Add tests for scopes proposal #5

Open
takikawa opened this issue May 30, 2024 · 0 comments
Open

Add tests for scopes proposal #5

takikawa opened this issue May 30, 2024 · 0 comments

Comments

@takikawa
Copy link
Collaborator

PR #4 added WIP tests for the core spec, but it so far doesn't include any tests for any proposals, including the scopes proposal. In the future it'd be good to cover the scopes proposal.

I think it could make sense to add new JSON files for additional proposals that we support. In that case, we could rename the original tests to source-map-core-tests.json, or source-map-core-consumer-tests.json or something similar.

For scopes, the test cases would at a minimum test the scope specification format and validation for scope data. In scopes meetings, we've also discussed adding more in-depth kinds of tests that could involve, for example, stepping to a specific location in a debugger and checking which scopes are listed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant