Skip to content

feat: no-unawaited-controller #44

@codejedi365

Description

@codejedi365

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions