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:
Nick McCurdy 2019-12-09 18:57:59 -05:00 committed by Yangshun Tay
parent 172f07116d
commit ba7c38cf0f
2 changed files with 3 additions and 3 deletions

View file

@ -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', () => {