mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix blogUtils.test.ts
This commit is contained in:
parent
98d1fcbe54
commit
e143329e5d
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,7 @@ describe('paginateBlogPosts', () => {
|
|||
blogTitle: 'Blog Title',
|
||||
blogDescription: 'Blog Description',
|
||||
postsPerPageOption: 2,
|
||||
pageBasePath: 'page',
|
||||
}),
|
||||
).toMatchSnapshot();
|
||||
expect(
|
||||
|
@ -62,6 +63,7 @@ describe('paginateBlogPosts', () => {
|
|||
blogTitle: 'Blog Title',
|
||||
blogDescription: 'Blog Description',
|
||||
postsPerPageOption: 2,
|
||||
pageBasePath: 'page',
|
||||
}),
|
||||
).toMatchSnapshot();
|
||||
expect(
|
||||
|
@ -71,6 +73,7 @@ describe('paginateBlogPosts', () => {
|
|||
blogTitle: 'Blog Title',
|
||||
blogDescription: 'Blog Description',
|
||||
postsPerPageOption: 10,
|
||||
pageBasePath: 'page',
|
||||
}),
|
||||
).toMatchSnapshot();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue