mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-01 07:49:43 +02:00
chore: tighten ESLint config (#6931)
* chore: tighten ESLint config * more refactor * refactor push * fix
This commit is contained in:
parent
f70ddf7e69
commit
cc0bceab9c
54 changed files with 177 additions and 193 deletions
|
@ -745,9 +745,7 @@ describe('site with custom sidebar items generator', () => {
|
|||
}
|
||||
|
||||
it('sidebarItemsGenerator is called with appropriate data', async () => {
|
||||
const customSidebarItemsGeneratorMock = jest.fn(
|
||||
async (_arg: SidebarItemsGeneratorOptionArgs) => [],
|
||||
);
|
||||
const customSidebarItemsGeneratorMock = jest.fn(async () => []);
|
||||
const {siteDir} = await loadSite(customSidebarItemsGeneratorMock);
|
||||
|
||||
const generatorArg: SidebarItemsGeneratorOptionArgs =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue