You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
📌 Report Title\n\nDataSet service returns unresolved Promise due to missing await\n\n---\n\n## 📋 Description\n in constructs a instance and calls without . This returns a Promise instead of the resolved response, which can lead to unexpected behavior for callers that assume a resolved value.\n\n---\n\n## 🔄 Steps to Reproduce\n1. Mock to return a resolved value (e.g., a string or object).\n2. Call and check the returned value type.\n3. Observe a Promise is returned instead of the resolved value.\n\n---\n\n## ✅ Expected Behavior\n should the call and return the resolved value (or a safe fallback on error).\n\n---\n\n## 🚫 Actual Behavior\nThe function currently returns the Promise returned by without awaiting it.\n\n---\n\n## ✅ Fix / Recommendation\nAdd to and add a unit test verifying the resolved output is returned.\n\n---\n\n## 💻 Environment\n- Repo: main branch\n- File: \n\nI will open a PR with a small fix and a unit test that mocks and asserts the resolved value is returned.,assignee:}
📌 Report Title\n\nDataSet service returns unresolved Promise due to missing await\n\n---\n\n## 📋 Description\n in constructs a instance and calls without . This returns a Promise instead of the resolved response, which can lead to unexpected behavior for callers that assume a resolved value.\n\n---\n\n## 🔄 Steps to Reproduce\n1. Mock to return a resolved value (e.g., a string or object).\n2. Call and check the returned value type.\n3. Observe a Promise is returned instead of the resolved value.\n\n---\n\n## ✅ Expected Behavior\n should the call and return the resolved value (or a safe fallback on error).\n\n---\n\n## 🚫 Actual Behavior\nThe function currently returns the Promise returned by without awaiting it.\n\n---\n\n## ✅ Fix / Recommendation\nAdd to and add a unit test verifying the resolved output is returned.\n\n---\n\n## 💻 Environment\n- Repo: main branch\n- File: \n\nI will open a PR with a small fix and a unit test that mocks and asserts the resolved value is returned.,assignee:}