chore: upgrade dependencies (#7993)

* chore: upgrade dependencies

* Fix lint

* Bump more

* Fix lint
This commit is contained in:
Joshua Chen 2022-09-08 01:31:53 -04:00 committed by GitHub
parent 38dd7cfa04
commit 275f509d13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1779 additions and 1788 deletions

View file

@ -175,12 +175,12 @@ describe('loadSidebars', () => {
} as VersionMetadata,
}),
).rejects.toThrowErrorMatchingInlineSnapshot(`""foo" is not allowed"`);
expect(consoleWarnMock).toBeCalledWith(
expect(consoleWarnMock).toHaveBeenCalledWith(
expect.stringMatching(
/.*\[WARNING\].* There are more than one category metadata files for .*foo.*: foo\/_category_.json, foo\/_category_.yml. The behavior is undetermined./,
),
);
expect(consoleErrorMock).toBeCalledWith(
expect(consoleErrorMock).toHaveBeenCalledWith(
expect.stringMatching(
/.*\[ERROR\].* The docs sidebar category metadata file .*foo\/_category_.json.* looks invalid!/,
),