Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit 66ec9f0

Browse files
committed
fix: Fix the tests
1 parent f4cb9fb commit 66ec9f0

File tree

8 files changed

+205
-170
lines changed

8 files changed

+205
-170
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ The `types` property is an array of string values that describes the type of the
212212

213213
- `has-<type>`: for each type of content that occurs at least once in the section, e.g. has-heading
214214
- `is-<type>-only`: for sections that only have content of a single type, e.g. is-image-only
215-
- `is-<type-1>-<type-2>-<type3>`, `is-<type-1>-<type-2>`, and `is-<type-1>` for the top 3 most frequent types of children in the section. For instance a gallery with a heading and description would be `is-image-paragraph-heading`. You can infer additional types using [`utils.types`](#infer-content-types-with-utilstypes).
215+
- `is-<type-1>-<type-2>-<type3>`, `is-<type-1>-<type-2>`, and `is-<type-1>` for the top 3 most frequent types of children in the section. For instance a gallery with a heading and description would be `is-image-text-heading`. You can infer additional types using [`utils.types`](#infer-content-types-with-utilstypes).
216216
- `nb-<type>-<occurences>`: number of occurences of each type in the section
217217

218218
Each section has additional content-derived metadata properties, in particular:
@@ -579,8 +579,8 @@ Step 5 (diff only):
579579
+ ],
580580
+ "title": "Hello World",
581581
+ "types": [
582-
+ "has-paragraph",
583-
+ "is-paragraph-only"
582+
+ "has-text",
583+
+ "is-text-only"
584584
+ ],
585585
+ "intro": "Hello World",
586586
+ "meta": {}

0 commit comments

Comments
 (0)