File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -816,6 +816,8 @@ export class PackageVersionBuilder implements IPackageVersionBuilder {
816816 this . packageChangesCache . clear ( )
817817 this . operations . clear ( )
818818 this . documents . clear ( )
819+ this . exportDocuments = [ ]
820+ this . exportFileName = undefined
819821 this . comparisons = [ ]
820822
821823 this . notifications = [ ]
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ describe('Export test', () => {
157157 buildType : BUILD_TYPE . EXPORT_VERSION ,
158158 format : 'json' ,
159159 } )
160- expect ( result . exportFileName ) . toEqual ( 'export_single-document-version.zip ' )
160+ expect ( result . exportFileName ) . toEqual ( 'export_single-document-version_1.json ' )
161161 // todo check zip content
162162 } )
163163
@@ -167,7 +167,7 @@ describe('Export test', () => {
167167 buildType : BUILD_TYPE . EXPORT_VERSION ,
168168 format : 'yaml' ,
169169 } )
170- expect ( result . exportFileName ) . toEqual ( 'export_single-document-version.zip ' )
170+ expect ( result . exportFileName ) . toEqual ( 'export_single-document-version_1.yaml ' )
171171 // todo check zip content
172172 } )
173173
You can’t perform that action at this time.
0 commit comments