mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-27 13:38:33 +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
|
@ -167,11 +167,11 @@ describe('getSlug', () => {
|
|||
expect(
|
||||
getSlug({
|
||||
baseID: 'any',
|
||||
source: '@site/docs/unslashedDir/doc.md',
|
||||
sourceDirName: 'unslashedDir',
|
||||
source: '@site/docs/nonSlashedDir/doc.md',
|
||||
sourceDirName: 'nonSlashedDir',
|
||||
frontMatterSlug: 'abc/def',
|
||||
}),
|
||||
).toBe('/unslashedDir/abc/def');
|
||||
).toBe('/nonSlashedDir/abc/def');
|
||||
expect(
|
||||
getSlug({
|
||||
baseID: 'any',
|
||||
|
@ -207,7 +207,7 @@ describe('getSlug', () => {
|
|||
expect(
|
||||
getSlug({
|
||||
baseID: 'any',
|
||||
source: '@site/docs/dir/subdirdoc.md',
|
||||
source: '@site/docs/dir/subdirDoc.md',
|
||||
sourceDirName: '/dir/subdir',
|
||||
frontMatterSlug: '../../../../../abc/../def',
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue