mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
docs(v1): fix path to sidebars.json in generated readme (#2108)
* docs(v1): fix path to sidebars.json in generated readme * test(v1): fix path to sidebars.json in test
This commit is contained in:
parent
172f07116d
commit
ba7c38cf0f
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ jest.mock('../env', () => ({
|
|||
}));
|
||||
|
||||
jest.mock(`${process.cwd()}/siteConfig.js`, () => ({}), {virtual: true});
|
||||
jest.mock(`${process.cwd()}/sidebar.json`, () => true, {virtual: true});
|
||||
jest.mock(`${process.cwd()}/sidebars.json`, () => true, {virtual: true});
|
||||
|
||||
describe('readMetadata', () => {
|
||||
describe('readSidebar', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue