Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): await promise and check error (#1563)
**Resolve ESLint Promise Handling Error** Fixed the ESLint error by using `assert.rejects` to handle the promise returned by `deviceCheater.setCurrentSpace`. This ensures that the promise is properly managed and the test checks for expected rejections, addressing the ESLint rule that requires promises to be awaited, handled with `.catch`, or explicitly ignored.
- Loading branch information