@@ -396,7 +396,7 @@ describe('Node SDK', () => {
396
396
sdk . start ( ) ;
397
397
398
398
// Verify deprecation warning was shown
399
- sinon . assert . calledWith (
399
+ Sinon . assert . calledWith (
400
400
warnSpy ,
401
401
"The 'metricReader' option is deprecated. Please use 'metricReaders' instead."
402
402
) ;
@@ -428,7 +428,7 @@ describe('Node SDK', () => {
428
428
sdk . start ( ) ;
429
429
430
430
// Verify no metricReader deprecation warning was shown
431
- sinon . assert . neverCalledWith (
431
+ Sinon . assert . neverCalledWith (
432
432
warnSpy ,
433
433
"The 'metricReader' option is deprecated. Please use 'metricReaders' instead."
434
434
) ;
@@ -734,15 +734,15 @@ describe('Node SDK', () => {
734
734
// Local functions to test if a mocked method is ever called with a specific argument or regex matching for an argument.
735
735
// Needed because of race condition with parallel detectors.
736
736
const callArgsContains = (
737
- mockedFunction : sinon . SinonSpy ,
737
+ mockedFunction : Sinon . SinonSpy ,
738
738
arg : any
739
739
) : boolean => {
740
740
return mockedFunction . getCalls ( ) . some ( call => {
741
741
return call . args . some ( callarg => arg === callarg ) ;
742
742
} ) ;
743
743
} ;
744
744
const callArgsMatches = (
745
- mockedFunction : sinon . SinonSpy ,
745
+ mockedFunction : Sinon . SinonSpy ,
746
746
regex : RegExp
747
747
) : boolean => {
748
748
return mockedFunction . getCalls ( ) . some ( call => {
0 commit comments