We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 903a8c6 commit 2e7a92bCopy full SHA for 2e7a92b
1 file changed
tests/component/sections/file/File.spec.tsx
@@ -101,7 +101,11 @@ describe('File', () => {
101
102
it('renders the FileVersions component', () => {
103
const testFile = FileMother.createRealistic()
104
+ const summaries = FileMother.createFileVersionSummary()
105
fileRepository.getById = cy.stub().resolves(testFile)
106
+ fileRepository.getFileVersionSummaries = cy
107
+ .stub()
108
+ .resolves({ summaries, totalCount: summaries.length })
109
110
cy.customMount(
111
<File
0 commit comments