@@ -816,8 +816,7 @@ describe('javascript-sdk (Browser)', function() {
816
816
sinon . assert . called ( fakeEventManager . sendEvent ) ;
817
817
} ) ;
818
818
819
- // TODO: unskip and correct failing test. Need this reference implementation for other work [FSSDK-10711]
820
- it . skip ( 'should augment odp events with user agent data if userAgentParser is provided' , async ( ) => {
819
+ it ( 'should augment odp events with user agent data if userAgentParser is provided' , async ( ) => {
821
820
const userAgentParser = {
822
821
parseUserAgentInfo ( ) {
823
822
return {
@@ -1059,8 +1058,7 @@ describe('javascript-sdk (Browser)', function() {
1059
1058
assert ( client . odpManager . eventManager . batchSize , 1 ) ;
1060
1059
} ) ;
1061
1060
1062
- // TODO: unskip and correct failing test. Need this reference implementation for other work [FSSDK-10711]
1063
- it . skip ( 'should send an odp event to the browser endpoint' , async ( ) => {
1061
+ it ( 'should send an odp event to the browser endpoint' , async ( ) => {
1064
1062
const odpConfig = new OdpConfig ( ) ;
1065
1063
1066
1064
const apiManager = new BrowserOdpEventApiManager ( mockRequestHandler , logger ) ;
@@ -1117,8 +1115,7 @@ describe('javascript-sdk (Browser)', function() {
1117
1115
sinon . assert . notCalled ( logger . error ) ;
1118
1116
} ) ;
1119
1117
1120
- // TODO: unskip and correct failing test. Need this reference implementation for other work [FSSDK-10711]
1121
- it . skip ( 'should send odp client_initialized on client instantiation' , async ( ) => {
1118
+ it ( 'should send odp client_initialized on client instantiation' , async ( ) => {
1122
1119
const odpConfig = new OdpConfig ( 'key' , 'host' , 'pixel' , [ ] ) ;
1123
1120
const apiManager = new BrowserOdpEventApiManager ( mockRequestHandler , logger ) ;
1124
1121
sinon . spy ( apiManager , 'sendEvents' ) ;
0 commit comments