File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -316,8 +316,8 @@ describe('Sentry errors', function () {
316316 } ) ;
317317 } ) ;
318318
319- describe ( 'before initialization, after opting into metrics' , function ( ) {
320- it ( 'should send error events in background' , async function ( ) {
319+ describe . only ( 'before initialization, after opting into metrics' , function ( ) {
320+ it . only ( 'should send error events in background' , async function ( ) {
321321 await withFixtures (
322322 {
323323 fixtures : {
@@ -347,14 +347,19 @@ describe('Sentry errors', function () {
347347 } , WAIT_FOR_SENTRY_MS ) ;
348348
349349 const [ mockedRequest ] = await mockedEndpoint . getSeenRequests ( ) ;
350+
351+ console . log ( 'mockedRequest============' , mockedRequest ) ;
350352 const mockTextBody = ( await mockedRequest . body . getText ( ) ) . split ( '\n' ) ;
351353 const mockJsonBody = JSON . parse ( mockTextBody [ 2 ] ) ;
354+ console . log ( 'mockJson Body ============' , mockJsonBody ) ;
355+
352356 // Verify request
353357 const escapedMigrationError = migrationError . replace (
354358 / [ . * + ? ^ $ { } ( ) | [ \] \\ ] / gu,
355359 '\\$&' ,
356360 ) ;
357361 const migrationErrorRegex = new RegExp ( escapedMigrationError , 'u' ) ;
362+ console . log ( 'migrationErrorRegex============' , migrationErrorRegex ) ;
358363 assert . match (
359364 JSON . stringify ( mockJsonBody . exception ) ,
360365 migrationErrorRegex ,
You can’t perform that action at this time.
0 commit comments