🪓 Split Output
into Outputs -> Output[]
#3195
Annotations
3 errors
|
Run npm run test:
packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { kind: 'Article', …(7) } to match object { kind: 'Article', …(7) }
(14 matching properties omitted from actual)
- Expected
+ Received
Object {
"dependencies": Array [
Object {
"kind": "Notebook",
"label": "my-plot",
"location": "/plot.ipynb",
"slug": "plot",
"url": "/plot",
},
],
"frontmatter": Object {
"content_includes_title": false,
"exports": Array [
Object {
"filename": "index.md",
"format": "md",
},
],
"github": "https://github.com/jupyter-book/mystmd",
"keywords": Array [],
"title": "Plots In Markdown",
},
"kind": "Article",
"location": "/index.md",
"mdast": Object {
"children": Array [
Object {
"children": Array [
Object {
"children": Array [
Object {
"position": Object {
"end": Object {
"column": 1,
"line": 3,
},
"start": Object {
"column": 1,
"line": 3,
},
},
"type": "text",
"value": "Figure directive - local",
},
],
"depth": 2,
"html_id": "figure-directive-local",
"identifier": "figure-directive-local",
"implicit": true,
"label": "Figure directive - local",
"position": Object {
"end": Object {
"column": 1,
"line": 3,
},
"start": Object {
"column": 1,
"line": 3,
},
},
"type": "heading",
},
Object {
"children": Array [
Object {
- "_future_ast": "{\"type\":\"outputs\",\"children\":[{\"type\":\"output\",\"id\":\"Ffu3R5cJjHblGUbO46YxC\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"aicFc0saqi\"}],\"key\":\"dSx0jlrAGq\"}",
+ "_future_ast": "{\"type\":\"outputs\",\"children\":[{\"type\":\"output\",\"id\":\"UK4WpVHn0pEW_MwDOow-b\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"Pj4VeAs1q6\"}],\"key\":\"cDda2GeKhT\"}",
"data": Array [
Object {
"data": Object {
"text/html": Object {
"content_type": "text/html",
"hash": "a16fcedcd26437c820ccfc05d1f48a57",
"path": "/a16fcedcd26437c820ccfc05d1f48a57.html",
},
"text/plain": Object {
"content": "alt.Chart(...)",
"content_type": "text/plain",
},
},
"execution_count": 2,
"metadata": Object {},
"output_type": "execute_result",
},
],
"type": "output",
},
Object {
"children": Array [
Object {
"children": Array [
Object {
"position": Object {
"end": Object {
|
Run npm run test
The operation was canceled.
|
Loading