stable

Clone or download

Read-only

refactor: use stub for sections store

This avoid to repeat in every tests how to setup the section store. No functional changes, tests should pass. Part of story #37543: edit Artidoc sections Change-Id: I4c3b4ae367924c93a4ccc419a4bb0caabbcd557f

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/App.test.ts +4 −7 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts +4 −6 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.test.ts +5 −6 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionContent.test.ts +8 −11 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/TableOfContents.test.ts +7 −11 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/InjectSectionsStoreStub.ts +47 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts +13 −15 Go to diff View file