mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 20:32:42 +02:00
test: improve test coverage; properly test core client APIs (#6905)
* test: improve test coverage * fix
This commit is contained in:
parent
76cb012209
commit
d85cee576d
41 changed files with 1400 additions and 753 deletions
|
@ -13,3 +13,5 @@ Lorem ipsum
|
|||
Some content here
|
||||
|
||||
## I ♥ unicode.
|
||||
|
||||
export const c = 1;
|
||||
|
|
|
@ -114,6 +114,8 @@ Lorem ipsum
|
|||
Some content here
|
||||
|
||||
## I ♥ unicode.
|
||||
|
||||
export const c = 1;
|
||||
"
|
||||
`;
|
||||
|
||||
|
@ -241,5 +243,7 @@ Lorem ipsum
|
|||
Some content here
|
||||
|
||||
## I ♥ unicode.
|
||||
|
||||
export const c = 1;
|
||||
"
|
||||
`;
|
||||
|
|
|
@ -31,7 +31,6 @@ export function toValue(node: PhrasingContent | Heading): string {
|
|||
case 'link':
|
||||
return stringifyContent(node);
|
||||
default:
|
||||
return toString(node);
|
||||
}
|
||||
|
||||
return toString(node);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue