File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -781,15 +781,17 @@ describe('lambda handler', () => {
781781 } ,
782782 queryStringParameters : {
783783 key : 'value' ,
784- key2 : 'value2'
784+ key2 : 'value2' ,
785785 } ,
786786 } ;
787787
788788 await lambdaRequire ( 'lambda-test/sync' ) . handler ( event , ctx , ( ) => { } ) ;
789789 const [ span ] = memoryExporter . getFinishedSpans ( ) ;
790790 assert . ok (
791- ( span . attributes [ ATTR_URL_FULL ] === 'http://www.example.com/lambda/test/path?key=value&key2=value2' ) ||
792- ( span . attributes [ ATTR_URL_FULL ] === 'http://www.example.com/lambda/test/path?key2=value2&key=value' )
791+ span . attributes [ ATTR_URL_FULL ] ===
792+ 'http://www.example.com/lambda/test/path?key=value&key2=value2' ||
793+ span . attributes [ ATTR_URL_FULL ] ===
794+ 'http://www.example.com/lambda/test/path?key2=value2&key=value'
793795 ) ;
794796 } ) ;
795797 it ( 'pulls url from api gateway http events' , async ( ) => {
You can’t perform that action at this time.
0 commit comments