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

feat: no-unawaited-controller #44

Open
codejedi365 opened this issue Nov 14, 2021 · 0 comments
Open

feat: no-unawaited-controller #44

codejedi365 opened this issue Nov 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@codejedi365
Copy link
Collaborator

Feature Request

Create a rule that throws an error when an await is not provided on a promise returned from the testController.

Problem & Goal

If the t: TestController provided in the test case is not awaited properly the test will resolve with no errors before the promise has been resolved. This can cause issues with any actions taken on the webpage or with assertions.

Ensure all tests use the TestController object and methods effectively for TestCafe tests.

Expected behavior

@codejedi365 codejedi365 added the enhancement New feature or request label Nov 14, 2021
@codejedi365 codejedi365 self-assigned this Nov 14, 2021
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