Skip to content

Commit 3ecdd59

Browse files
committed
Updated TODO to reference issue that will address it
1 parent 3431008 commit 3ecdd59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app/src/debug/utils/DebugMapping.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export const specsList = ({ specs, tests, localSpecs, currentTestingType, groups
2929
const foundSpec = specs.find((spec) => spec.id === curr.specId)
3030

3131
if (!foundSpec) {
32-
//TODO better handle error case
32+
// TODO better handle error case by showing an error message rather than just throwing
33+
// an error. Will be addressed in https://github.com/cypress-io/cypress/issues/25639
3334
throw new Error(`Could not find spec for id ${ curr.specId}`)
3435
}
3536

0 commit comments

Comments
 (0)