@@ -59,9 +59,7 @@ describe("formatConflictError", () => {
5959 expect ( error ) . toContain ( "def456@o789.ingest.sentry.io/101112" ) ;
6060 expect ( error ) . toContain ( "Project ID: 456" ) ;
6161 expect ( error ) . toContain ( "Project ID: 101112" ) ;
62- expect ( error ) . toContain (
63- "sentry issue list --org <org> --project <project>"
64- ) ;
62+ expect ( error ) . toContain ( "sentry issue list <org>/<project>" ) ;
6563 expect ( error ) . toContain ( "sentry config set defaults.org" ) ;
6664 } ) ;
6765
@@ -185,7 +183,7 @@ describe("formatNoDsnError", () => {
185183 expect ( error ) . toContain ( ".env files" ) ;
186184 expect ( error ) . toContain ( "JavaScript/TypeScript source code" ) ;
187185 expect ( error ) . toContain ( "export SENTRY_DSN=" ) ;
188- expect ( error ) . toContain ( "sentry issue list -- org" ) ;
186+ expect ( error ) . toContain ( "sentry issue list < org>/<project> " ) ;
189187 expect ( error ) . toContain ( "sentry config set defaults.org" ) ;
190188 } ) ;
191189
@@ -247,9 +245,7 @@ describe("formatResolutionError", () => {
247245 expect ( formatted ) . toContain ( "You don't have access to this project" ) ;
248246 expect ( formatted ) . toContain ( "self-hosted Sentry instance" ) ;
249247 expect ( formatted ) . toContain ( "invalid or expired" ) ;
250- expect ( formatted ) . toContain (
251- "sentry issue list --org <org> --project <project>"
252- ) ;
248+ expect ( formatted ) . toContain ( "sentry issue list <org>/<project>" ) ;
253249 } ) ;
254250
255251 test ( "formats error with access denied message" , ( ) => {
@@ -306,7 +302,7 @@ describe("formatMultipleProjectsFooter", () => {
306302 ) ;
307303 expect ( footer ) . toContain ( "• my-org / backend (from src/sentry.ts)" ) ;
308304 expect ( footer ) . toContain (
309- "Use --org and -- project to target a specific project"
305+ "Specify a project: sentry issue list <org>/< project> "
310306 ) ;
311307 } ) ;
312308
0 commit comments