🎁 Use commonDirectiveOptions
in all directives
#3175
Annotations
3 errors
|
Run npm run test:
packages/myst-ext-exercise/tests/exercise.spec.ts#L61
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) }
- Expected
+ Received
Object {
"children": Array [
Object {
"args": "Exercise Title",
"children": Array [
Object {
"children": Array [
Object {
"children": Array [
Object {
"type": "text",
"value": "Exercise Title",
},
],
"type": "admonitionTitle",
},
Object {
"children": Array [
Object {
"type": "text",
"value": "Exercise content",
},
],
"type": "paragraph",
},
],
- "enumerated": true,
+ "enumerated": undefined,
+ "hidden": undefined,
"identifier": "ex-1",
"label": "ex-1",
"type": "exercise",
},
],
"name": "exercise",
"options": Object {
"label": "ex-1",
},
+ "tight": undefined,
"type": "mystDirective",
"value": "Exercise content",
},
],
"type": "root",
}
❯ tests/exercise.spec.ts:61:37
|
Run npm run test
The operation was canceled.
|
Loading