-
Notifications
You must be signed in to change notification settings - Fork 825
π§ chore(inspect): Configure project(s) mocks for playwright tests #2978
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(inspect): Configure project(s) mocks for playwright tests #2978
Conversation
Codecov Reportβ All modified and coverable lines are covered by tests. π’ Thoughts on this report? Let us know! |
}, | ||
{ | ||
settings: { | ||
'import/resolver': { |
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.
What does this check do?
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.
It allows eslint to parse path imports properly when we have more than one tsconfig.json
"compilerOptions": { | ||
"baseUrl": ".", | ||
"paths": { | ||
"@geti-inspect/test-fixtures": ["./fixtures"] |
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.
Could we rename the file to be test-fixtures
as well? Atm I think it could be confusing if you'd try to search for the file related to test-fixtures
since the name is different.
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.
Ok, will rename it in a project management PR since I need to rebase there.
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.
I'm wondering if it makes sense to rename (to add prefix test) if the file already is in the tests
context?
π Description
This PR adds mocks for project(s) to be used in playwright tests. This PR is needed for #2977
β¨ Changes
Select what type of change your PR is:
β Checklist
Before you submit your pull request, please make sure you have completed the following steps:
For more information about code review checklists, see the Code Review Checklist.