@@ -314,30 +314,30 @@ describe('InstanceLookup', function() {
314314} ) ;
315315
316316describe ( 'parseBrowserResponse' , function ( ) {
317- it ( 'should find port when one instance matches' , ( ) => {
317+ it ( 'should find port when one instance matches' , function ( ) {
318318 const response =
319319 'ServerName;WINDOWS2;InstanceName;SQLEXPRESS;IsClustered;No;Version;10.50.2500.0;tcp;1433;;' ;
320320
321321 assert . strictEqual ( parseBrowserResponse ( response , 'sqlexpress' ) , 1433 ) ;
322322 } ) ;
323323
324- it ( 'should find port in first instance when two instances exist' , ( ) => {
324+ it ( 'should find port in first instance when two instances exist' , function ( ) {
325325 const response =
326326 'ServerName;WINDOWS2;InstanceName;SQLEXPRESS;IsClustered;No;Version;10.50.2500.0;tcp;1433;;' +
327327 'ServerName;WINDOWS2;InstanceName;XXXXXXXXXX;IsClustered;No;Version;10.50.2500.0;tcp;0;;' ;
328328
329329 assert . strictEqual ( parseBrowserResponse ( response , 'sqlexpress' ) , 1433 ) ;
330330 } ) ;
331331
332- it ( 'should find port in second instance when two instances exist' , ( ) => {
332+ it ( 'should find port in second instance when two instances exist' , function ( ) {
333333 const response =
334334 'ServerName;WINDOWS2;InstanceName;XXXXXXXXXX;IsClustered;No;Version;10.50.2500.0;tcp;0;;' +
335335 'ServerName;WINDOWS2;InstanceName;SQLEXPRESS;IsClustered;No;Version;10.50.2500.0;tcp;1433;;' ;
336336
337337 assert . strictEqual ( parseBrowserResponse ( response , 'sqlexpress' ) , 1433 ) ;
338338 } ) ;
339339
340- it ( 'should return undefined when no instance matches' , ( ) => {
340+ it ( 'should return undefined when no instance matches' , function ( ) {
341341 const response =
342342 'ServerName;WINDOWS2;InstanceName;XXXXXXXXXX;IsClustered;No;Version;10.50.2500.0;tcp;0;;' +
343343 'ServerName;WINDOWS2;InstanceName;YYYYYYYYYY;IsClustered;No;Version;10.50.2500.0;tcp;0;;' ;
0 commit comments