File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ describe('Database', () => {
503503 } ) ;
504504
505505 describe ( 'getSnapshot' , ( ) => {
506- let fakePool : FakeSessionPool ;
507506 let fakeSessionFactory : FakeSessionFactory ;
508507 let fakeSession : FakeSession ;
509508 let fakeMultiplexedSession : FakeMultiplexedSession ;
@@ -564,15 +563,15 @@ describe('Database', () => {
564563 ) ;
565564
566565 // Ensure that the span actually produced an error that was recorded.
567- const firstSpan = spans [ 0 ] ;
566+ const span = spans [ 0 ] ;
568567 assert . strictEqual (
569568 SpanStatusCode . ERROR ,
570- firstSpan . status . code ,
569+ span . status . code ,
571570 'Expected an ERROR span status'
572571 ) ;
573572 assert . strictEqual (
574573 'our snapshot error' ,
575- firstSpan . status . message ,
574+ span . status . message ,
576575 'Mismatched span status message'
577576 ) ;
578577
You can’t perform that action at this time.
0 commit comments