mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-27 21:48:41 +02:00
refactor: capitalize comments (#7188)
* refactor: capitalize comments * revert...
This commit is contained in:
parent
200009008b
commit
fa1ce230ea
99 changed files with 241 additions and 350 deletions
|
@ -226,7 +226,7 @@ describe('docsClientUtils', () => {
|
|||
],
|
||||
};
|
||||
|
||||
// shuffle, because order shouldn't matter
|
||||
// Shuffle, because order shouldn't matter
|
||||
const versions: GlobalVersion[] = _.shuffle([
|
||||
versionNext,
|
||||
version2,
|
||||
|
@ -355,7 +355,7 @@ describe('docsClientUtils', () => {
|
|||
],
|
||||
};
|
||||
|
||||
// shuffle, because order shouldn't matter
|
||||
// Shuffle, because order shouldn't matter
|
||||
const versions: GlobalVersion[] = _.shuffle([
|
||||
versionNext,
|
||||
version2,
|
||||
|
@ -395,7 +395,7 @@ describe('docsClientUtils', () => {
|
|||
latestVersionSuggestion: version2,
|
||||
});
|
||||
expect(getDocVersionSuggestions(data, '/docs/version1/doc2')).toEqual({
|
||||
latestDocSuggestion: undefined, // because /docs/version1/doc2 does not exist
|
||||
latestDocSuggestion: undefined, // Because /docs/version1/doc2 does not exist
|
||||
latestVersionSuggestion: version2,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue