mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-22 19:17:46 +02:00
fix loadVersion test
This commit is contained in:
parent
cfb354502d
commit
b640334248
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import path from 'path';
|
import * as path from 'path';
|
||||||
import {fromPartial} from '@total-typescript/shoehorn';
|
import {fromPartial} from '@total-typescript/shoehorn';
|
||||||
import {DEFAULT_PARSE_FRONT_MATTER} from '@docusaurus/utils/src';
|
import {DEFAULT_PARSE_FRONT_MATTER} from '@docusaurus/utils/src';
|
||||||
import {readVersionsMetadata} from '../version';
|
import {readVersionsMetadata} from '../version';
|
||||||
|
@ -19,7 +19,7 @@ const DefaultI18N: I18n = {
|
||||||
currentLocale: 'en',
|
currentLocale: 'en',
|
||||||
locales: ['en'],
|
locales: ['en'],
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
localeConfigs: {},
|
localeConfigs: {en: fromPartial({translate: true})},
|
||||||
};
|
};
|
||||||
|
|
||||||
async function siteFixture(fixture: string) {
|
async function siteFixture(fixture: string) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue