mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 02:56:57 +02:00
chore: spell-check test files (#6903)
This commit is contained in:
parent
f6baaa6b75
commit
76cb012209
59 changed files with 184 additions and 155 deletions
|
@ -270,7 +270,7 @@ describe('isActiveSidebarItem', () => {
|
|||
label: 'Label',
|
||||
};
|
||||
|
||||
expect(isActiveSidebarItem(item, '/unexistingPath')).toBe(false);
|
||||
expect(isActiveSidebarItem(item, '/nonexistentPath')).toBe(false);
|
||||
|
||||
expect(isActiveSidebarItem(item, '/itemPath')).toBe(true);
|
||||
|
||||
|
@ -286,7 +286,7 @@ describe('isActiveSidebarItem', () => {
|
|||
href: '/itemPath',
|
||||
});
|
||||
|
||||
expect(isActiveSidebarItem(item, '/unexistingPath')).toBe(false);
|
||||
expect(isActiveSidebarItem(item, '/nonexistentPath')).toBe(false);
|
||||
|
||||
expect(isActiveSidebarItem(item, '/itemPath')).toBe(true);
|
||||
|
||||
|
@ -319,7 +319,7 @@ describe('isActiveSidebarItem', () => {
|
|||
],
|
||||
});
|
||||
|
||||
expect(isActiveSidebarItem(item, '/unexistingPath')).toBe(false);
|
||||
expect(isActiveSidebarItem(item, '/nonexistentPath')).toBe(false);
|
||||
|
||||
expect(isActiveSidebarItem(item, '/category-path')).toBe(true);
|
||||
expect(isActiveSidebarItem(item, '/sub-link-path')).toBe(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue