Button Block: Set proper typography for inner elements #122410
Annotations
2 errors and 1 warning
Running the tests:
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveInformed(expected)
Expected mock function not to be called but it was called with:
["Block successfully updated for `%s` (%o).·
New content generated by `save` function:·
%s·
Content retrieved from post body:·
%s", "core/button", {"__experimentalLabel": [Function anonymous], "apiVersion": 3, "attributes": {"anchor": {"attribute": "id", "selector": "*", "source": "attribute", "type": "string"}, "backgroundColor": {"type": "string"}, "borderColor": {"type": "string"}, "className": {"type": "string"}, "fontFamily": {"type": "string"}, "fontSize": {"type": "string"}, "gradient": {"type": "string"}, "linkTarget": {"attribute": "target", "role": "content", "selector": "a", "source": "attribute", "type": "string"}, "lock": {"type": "object"}, "metadata": {"type": "object"}, "placeholder": {"type": "string"}, "rel": {"attribute": "rel", "role": "content", "selector": "a", "source": "attribute", "type": "string"}, "style": {"type": "object"}, "tagName": {"default": "a", "enum": ["a", "button"], "type": "string"}, "text": {"role": "content", "selector": "a,button", "source": "rich-text", "type": "rich-text"}, "textAlign": {"type": "string"}, "textColor": {"type": "string"}, "title": {"attribute": "title", "role": "content", "selector": "a,button", "source": "attribute", "type": "string"}, "type": {"default": "button", "type": "string"}, "url": {"attribute": "href", "role": "content", "selector": "a", "source": "attribute", "type": "string"}, "width": {"type": "number"}}, "blockHooks": {}, "category": "design", "deprecated": [{"attributes": {"align": [Object], "anchor": [Object], "backgroundColor": [Object], "borderColor": [Object], "className": [Object], "fontFamily": [Object], "fontSize": [Object], "gradient": [Object], "linkTarget": [Object], "lock": [Object], "metadata": [Object], "placeholder": [Object], "rel": [Object], "style": [Object], "tagName": [Object], "text": [Object], "textAlign": [Object], "textColor": [Object], "title": [Object], "type": [Object], "url": [Object], "width": [Object]}, "save": [Function save], "supports": {"__experimentalSelector": ".wp-block-button__link", "align": true, "alignWide": false, "anchor": true, "border": [Object], "color": [Object], "interactivity": [Object], "reusable": false, "shadow": [Object], "spacing": [Object], "typography": [Object]}}, {"attributes": {"align": [Object], "anchor": [Object], "backgroundColor": [Object], "className": [Object], "fontFamily": [Object], "fontSize": [Object], "gradient": [Object], "linkTarget": [Object], "lock": [Object], "metadata": [Object], "placeholder": [Object], "rel": [Object], "style": [Object], "text": [Object], "textColor": [Object], "title": [Object], "url": [Object], "width": [Object]}, "save": [Function save], "supports": {"__experimentalSelector": ".wp-block-button__link", "align": true, "alignWide": false, "anchor": true, "border": [Object], "color": [Object], "reusable": false, "spacing": [Object], "typography": [Object]}}, {"attributes": {"align": [Object], "anchor": [Object], "backgroundColor": [Object], "className": [Object], "fontFamily": [Object], "fontSize": [Object], "gradient": [Object], "linkTarget": [Object], "lock": [Object], "metadata": [Object], "placeholder": [Object], "rel": [Object], "style": [Object], "text": [Object], "textColor": [Object], "title": [Object], "url": [Object], "width": [Object]}, "isEligible": [Function isEligible], "migrate": [Function _default], "save": [Function save], "supports": {"__experimentalSelector": ".wp-block-button__link", "align": true, "alignWide": false, "anchor": true, "border": [Object], "color": [Object], "reusable": false, "spacing": [Object], "typography": [Object]}}, {"attributes": {"align": [Object], "anchor": [Object], "backgroundColor": [Object], "className": [Object], "fontFamily": [Object], "fontSize": [Object], "gradient": [Object], "linkTarget": [Object], "lock": [Object], "metadata": [Object], "placeholder": [Object], "rel": [Object], "style": [Object], "text": [Object], "textColor": [Object], "title": [Object], "url": [Object], "width": [
|
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