Add Post Type Archive in Link UI and Navigation Link via Types API endpoint #122215
Annotations
2 errors and 1 warning
Running the tests:
packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js#L202
Error: expect(received).toEqual(expected) // deep equality
- Expected - 7
+ Received + 0
@@ -39,13 +39,6 @@
"kind": "media",
"title": "Some Test Media Title",
"type": "attachment",
"url": "http://localhost:8888/wp-content/uploads/2022/03/test-pdf.pdf",
},
- Object {
- "id": "books",
- "kind": "post-type-archive",
- "title": "All Books",
- "type": "books-archive",
- "url": "http://wordpress.local/books/",
- },
]
at toEqual (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js:202:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
Running the tests
Process completed with exit code 1.
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading