From 3ecdd59f9311a9fd1fea65ed405affa815179367 Mon Sep 17 00:00:00 2001 From: Stokes Player Date: Mon, 30 Jan 2023 19:04:33 -0500 Subject: [PATCH] Updated TODO to reference issue that will address it --- packages/app/src/debug/utils/DebugMapping.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/debug/utils/DebugMapping.ts b/packages/app/src/debug/utils/DebugMapping.ts index 9f6dcbd949c8..cbd8627dd6f9 100644 --- a/packages/app/src/debug/utils/DebugMapping.ts +++ b/packages/app/src/debug/utils/DebugMapping.ts @@ -29,7 +29,8 @@ export const specsList = ({ specs, tests, localSpecs, currentTestingType, groups const foundSpec = specs.find((spec) => spec.id === curr.specId) if (!foundSpec) { - //TODO better handle error case + // TODO better handle error case by showing an error message rather than just throwing + // an error. Will be addressed in https://github.com/cypress-io/cypress/issues/25639 throw new Error(`Could not find spec for id ${ curr.specId}`) }