-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
chore: deprecate test itests #25512
chore: deprecate test itests #25512
Conversation
Signed-off-by: HasanAlrimawi <[email protected]>
…ed test file 'testdata/test/collectdeno.deprecated.jsonc'
Could you please check failing tests? |
@@ -0,0 +1,5 @@ | |||
{ | |||
"args": "test --config ../../../config/deno.json --allow-all main.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar comment to #25558 (comment) , all spec tests should be self contained so we shouldn't be doing these relative paths to the ancestor directories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comment here wasn't exactly accurate because yeah it's sometimes useful to use deno/std. We'll fix this in the future as part of #25561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, but we should look at getting rid of the traversal up ancestor directories. Ideally we shouldn't use files in the testdata directory except through remote modules.
working on it... |
Signed-off-by: HasanAlrimawi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for doing this!
This PR is part of #22907