@@ -267,8 +267,11 @@ describe('ExperienceSiteMigration', () => {
267267
268268 const mockOSStorage : OmniScriptStorage = {
269269 type : 'TestType' ,
270+ originalType : 'TestType' ,
270271 subtype : 'TestSubtype' ,
272+ originalSubtype : 'TestSubtype' ,
271273 language : 'English' ,
274+ originalLanguage : 'English' ,
272275 isDuplicate : false ,
273276 migrationSuccess : true ,
274277 } ;
@@ -352,8 +355,11 @@ describe('ExperienceSiteMigration', () => {
352355
353356 const failedOSStorage : OmniScriptStorage = {
354357 type : 'TestType' ,
358+ originalType : 'TestType' ,
355359 subtype : 'TestSubtype' ,
360+ originalSubtype : 'TestSubtype' ,
356361 language : 'English' ,
362+ originalLanguage : 'English' ,
357363 isDuplicate : false ,
358364 migrationSuccess : false ,
359365 } ;
@@ -380,8 +386,11 @@ describe('ExperienceSiteMigration', () => {
380386
381387 const duplicateOSStorage : OmniScriptStorage = {
382388 type : 'TestType' ,
389+ originalType : 'TestType' ,
383390 subtype : 'TestSubtype' ,
391+ originalSubtype : 'TestSubtype' ,
384392 language : 'English' ,
393+ originalLanguage : 'English' ,
385394 isDuplicate : true ,
386395 migrationSuccess : true ,
387396 } ;
@@ -453,8 +462,11 @@ describe('ExperienceSiteMigration', () => {
453462
454463 const mockOSStorage : OmniScriptStorage = {
455464 type : 'TestType' ,
465+ originalType : 'TestType' ,
456466 subtype : 'TestSubtype' ,
467+ originalSubtype : 'TestSubtype' ,
457468 language : 'English' ,
469+ originalLanguage : 'English' ,
458470 isDuplicate : false ,
459471 migrationSuccess : true ,
460472 } ;
@@ -513,8 +525,11 @@ describe('ExperienceSiteMigration', () => {
513525
514526 const mockOSStorage : OmniScriptStorage = {
515527 type : 'TestType' ,
528+ originalType : 'TestType' ,
516529 subtype : 'TestSubtype' ,
530+ originalSubtype : 'TestSubtype' ,
517531 language : 'English' ,
532+ originalLanguage : 'English' ,
518533 isDuplicate : false ,
519534 migrationSuccess : true ,
520535 } ;
@@ -562,8 +577,11 @@ describe('ExperienceSiteMigration', () => {
562577
563578 const failedOSStorage : OmniScriptStorage = {
564579 type : 'FailedType' ,
580+ originalType : 'FailedType' ,
565581 subtype : 'FailedSubtype' ,
582+ originalSubtype : 'FailedSubtype' ,
566583 language : 'English' ,
584+ originalLanguage : 'English' ,
567585 isDuplicate : false ,
568586 migrationSuccess : false ,
569587 } ;
@@ -591,8 +609,11 @@ describe('ExperienceSiteMigration', () => {
591609
592610 const duplicateOSStorage : OmniScriptStorage = {
593611 type : 'DuplicateType' ,
612+ originalType : 'DuplicateType' ,
594613 subtype : 'DuplicateSubtype' ,
614+ originalSubtype : 'DuplicateSubtype' ,
595615 language : 'English' ,
616+ originalLanguage : 'English' ,
596617 isDuplicate : true ,
597618 migrationSuccess : true ,
598619 } ;
@@ -640,16 +661,22 @@ describe('ExperienceSiteMigration', () => {
640661 // One successful, one duplicate
641662 const successfulStorage : OmniScriptStorage = {
642663 type : 'SuccessType' ,
664+ originalType : 'SuccessType' ,
643665 subtype : 'SuccessSubtype' ,
666+ originalSubtype : 'SuccessSubtype' ,
644667 language : 'English' ,
668+ originalLanguage : 'English' ,
645669 isDuplicate : false ,
646670 migrationSuccess : true ,
647671 } ;
648672
649673 const duplicateStorage : OmniScriptStorage = {
650674 type : 'DuplicateType' ,
675+ originalType : 'DuplicateType' ,
651676 subtype : 'DuplicateSubtype' ,
677+ originalSubtype : 'DuplicateSubtype' ,
652678 language : 'English' ,
679+ originalLanguage : 'English' ,
653680 isDuplicate : true ,
654681 migrationSuccess : true ,
655682 } ;
@@ -787,8 +814,11 @@ describe('ExperienceSiteMigration', () => {
787814
788815 const mockOSStandardStorage : OmniScriptStorage = {
789816 type : 'UpdatedType' ,
817+ originalType : 'UpdatedType' ,
790818 subtype : 'UpdatedSubtype' ,
819+ originalSubtype : 'UpdatedSubtype' ,
791820 language : 'Spanish' ,
821+ originalLanguage : 'Spanish' ,
792822 isDuplicate : false ,
793823 migrationSuccess : true ,
794824 } ;
@@ -892,6 +922,7 @@ describe('ExperienceSiteMigration', () => {
892922
893923 const mockFlexCardStorage = {
894924 name : 'UpdatedFlexCard' ,
925+ originalName : 'TestFlexCard' ,
895926 isDuplicate : false ,
896927 migrationSuccess : true ,
897928 } ;
0 commit comments