mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 13:38:02 +02:00
refactor(v2): correct some of type errors reported by eslint (#4382)
* fix: correct some of type errors reported by eslint * fix: remove unnecessary import
This commit is contained in:
parent
a39c62f644
commit
bfe52cdae3
10 changed files with 32 additions and 21 deletions
|
@ -28,7 +28,6 @@ function createTestHelpers({
|
|||
|
||||
function testFail(value: unknown) {
|
||||
expect(() => Joi.attempt(value, schema)).toThrowErrorMatchingSnapshot(
|
||||
// @ts-expect-error: seems ok at runtime, but bad typedef
|
||||
`for value=${JSON.stringify(value)}`,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue