@@ -4343,7 +4343,7 @@ describe('SDK-to-MockApp', function () {
43434343 // Assert
43444344 expect ( spyApp . validateLoad ) . toHaveBeenCalledWith ( testData . loadConfig ) ;
43454345 expect ( spyApp . load ) . not . toHaveBeenCalled ( ) ;
4346- expect ( errors ) . toEqual ( testData . expectedErrors ) ;
4346+ expect ( errors ) . toEqual ( jasmine . objectContaining ( testData . expectedErrors ) ) ;
43474347 done ( ) ;
43484348 } ) ;
43494349 } ) ;
@@ -4396,7 +4396,7 @@ describe('SDK-to-MockApp', function () {
43964396 . catch ( error => {
43974397 // Assert
43984398 expect ( spyApp . getPages ) . toHaveBeenCalled ( ) ;
4399- expect ( error ) . toEqual ( testData . expectedError ) ;
4399+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
44004400 done ( ) ;
44014401 } ) ;
44024402 } ) ;
@@ -4447,7 +4447,7 @@ describe('SDK-to-MockApp', function () {
44474447 // Assert
44484448 expect ( spyApp . validateFilter ) . toHaveBeenCalledWith ( testData . filter ) ;
44494449 expect ( spyApp . addFilter ) . not . toHaveBeenCalled ( ) ;
4450- expect ( error ) . toEqual ( testData . expectedError ) ;
4450+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
44514451 done ( ) ;
44524452 } ) ;
44534453 } ) ;
@@ -4492,7 +4492,7 @@ describe('SDK-to-MockApp', function () {
44924492 // Assert
44934493 expect ( spyApp . validateFilter ) . toHaveBeenCalledWith ( testData . filter ) ;
44944494 expect ( spyApp . updateFilter ) . not . toHaveBeenCalled ( ) ;
4495- expect ( error ) . toEqual ( testData . expectedError ) ;
4495+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
44964496 done ( ) ;
44974497 } ) ;
44984498 } ) ;
@@ -4537,7 +4537,7 @@ describe('SDK-to-MockApp', function () {
45374537 // Assert
45384538 expect ( spyApp . validateFilter ) . toHaveBeenCalledWith ( testData . filter ) ;
45394539 expect ( spyApp . removeFilter ) . not . toHaveBeenCalled ( ) ;
4540- expect ( error ) . toEqual ( testData . expectedError ) ;
4540+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
45414541 done ( ) ;
45424542 } ) ;
45434543 } ) ;
@@ -4619,7 +4619,7 @@ describe('SDK-to-MockApp', function () {
46194619 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
46204620 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
46214621 expect ( spyApp . addFilter ) . not . toHaveBeenCalled ( ) ;
4622- expect ( error ) . toEqual ( testData . expectedError ) ;
4622+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
46234623 done ( ) ;
46244624 } ) ;
46254625 } ) ;
@@ -4675,7 +4675,7 @@ describe('SDK-to-MockApp', function () {
46754675 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
46764676 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
46774677 expect ( spyApp . updateFilter ) . not . toHaveBeenCalled ( ) ;
4678- expect ( error ) . toEqual ( testData . expectedError ) ;
4678+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
46794679 done ( ) ;
46804680 } ) ;
46814681 } ) ;
@@ -4731,7 +4731,7 @@ describe('SDK-to-MockApp', function () {
47314731 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
47324732 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
47334733 expect ( spyApp . removeFilter ) . not . toHaveBeenCalled ( ) ;
4734- expect ( error ) . toEqual ( testData . expectedError ) ;
4734+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
47354735 done ( ) ;
47364736 } ) ;
47374737 } ) ;
@@ -4789,7 +4789,7 @@ describe('SDK-to-MockApp', function () {
47894789 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
47904790 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
47914791 expect ( spyApp . addFilter ) . not . toHaveBeenCalled ( ) ;
4792- expect ( error ) . toEqual ( testData . expectedError ) ;
4792+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
47934793 done ( ) ;
47944794 } ) ;
47954795 } ) ;
@@ -4845,7 +4845,7 @@ describe('SDK-to-MockApp', function () {
48454845 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
48464846 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
48474847 expect ( spyApp . updateFilter ) . not . toHaveBeenCalled ( ) ;
4848- expect ( error ) . toEqual ( testData . expectedError ) ;
4848+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
48494849 done ( ) ;
48504850 } ) ;
48514851 } ) ;
@@ -4901,7 +4901,7 @@ describe('SDK-to-MockApp', function () {
49014901 expect ( spyApp . validateTarget ) . toHaveBeenCalledWith ( testData . target ) ;
49024902 expect ( spyApp . validateFilter ) . not . toHaveBeenCalled ( ) ;
49034903 expect ( spyApp . removeFilter ) . not . toHaveBeenCalled ( ) ;
4904- expect ( error ) . toEqual ( testData . expectedError ) ;
4904+ expect ( error ) . toEqual ( jasmine . objectContaining ( testData . expectedError ) ) ;
49054905 done ( ) ;
49064906 } ) ;
49074907 } ) ;
@@ -4958,7 +4958,7 @@ describe('SDK-to-MockApp', function () {
49584958 // Assert
49594959 expect ( spyApp . validateSettings ) . toHaveBeenCalledWith ( testData . settings ) ;
49604960 expect ( spyApp . updateSettings ) . not . toHaveBeenCalled ( ) ;
4961- expect ( errors ) . toEqual ( testData . expectedErrors ) ;
4961+ expect ( errors ) . toEqual ( jasmine . objectContaining ( testData . expectedErrors ) ) ;
49624962 done ( ) ;
49634963 } ) ;
49644964 } ) ;
0 commit comments