🎁 Use commonDirectiveOptions
in all directives
#3174
Annotations
2 errors and 1 warning
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
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading