mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-25 20:48:50 +02:00
chore(v2): Fix more eslint errors (#2976)
This commit is contained in:
parent
3611c96f90
commit
6e43c9bd34
81 changed files with 375 additions and 237 deletions
|
@ -170,7 +170,8 @@ describe('simple site', () => {
|
|||
});
|
||||
|
||||
// unrelated frontmatter is not part of metadata
|
||||
expect(data['unrelated_frontmatter']).toBeUndefined();
|
||||
// @ts-expect-error: It doesn't exist, so the test will show it's undefined.
|
||||
expect(data.unrelated_frontmatter).toBeUndefined();
|
||||
});
|
||||
|
||||
test('docs with last update time and author', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue