Skip to content

feat(html): implement go to declaration for custom elms #59

feat(html): implement go to declaration for custom elms

feat(html): implement go to declaration for custom elms #59

Triggered via pull request April 27, 2024 21:47
Status Failure
Total duration 26s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/contributions/html-contributions.test.ts > generateElementInfo > marks a component as deprecated: src/contributions/html-contributions.test.ts#L38
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": true, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:38:23
src/contributions/html-contributions.test.ts > generateElementInfo > marks a component as deprecated: src/contributions/html-contributions.test.ts#L38
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": true, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:38:23
src/contributions/html-contributions.test.ts > generateElementInfo > marks a component as deprecated: src/contributions/html-contributions.test.ts#L38
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": true, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:38:23
src/contributions/html-contributions.test.ts > generateElementInfo > attributes > handles a component with no attributes: src/contributions/html-contributions.test.ts#L70
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:70:25
src/contributions/html-contributions.test.ts > generateElementInfo > attributes > parses the properties field into a well formed entry: src/contributions/html-contributions.test.ts#L151
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [ Object { "default": "Bob", "deprecated": false, "description": "this is the first name of the user", "name": "first-name", "priority": "high", "required": false, }, ], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:151:25
src/contributions/html-contributions.test.ts > generateElementInfo > attributes > 'deprecated' marks an attribute as deprecated: src/contributions/html-contributions.test.ts#L194
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [ Object { "default": "Bob", "deprecated": true, "description": "this is the first name of the user", "name": "first-name", "priority": "high", "required": false, }, ], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:194:25
src/contributions/html-contributions.test.ts > generateElementInfo > attributes > 'DEPRECATED' marks an attribute as deprecated: src/contributions/html-contributions.test.ts#L194
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [ Object { "default": "Bob", "deprecated": true, "description": "this is the first name of the user", "name": "first-name", "priority": "high", "required": false, }, ], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:194:25
src/contributions/html-contributions.test.ts > generateElementInfo > attributes > 'Deprecated' marks an attribute as deprecated: src/contributions/html-contributions.test.ts#L194
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [ Object { "default": "Bob", "deprecated": true, "description": "this is the first name of the user", "name": "first-name", "priority": "high", "required": false, }, ], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:194:25
src/contributions/html-contributions.test.ts > generateElementInfo > slots > parses a component with no slots: src/contributions/html-contributions.test.ts#L232
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": true, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:232:25
src/contributions/html-contributions.test.ts > generateElementInfo > slots > parses the default slot: src/contributions/html-contributions.test.ts#L260
AssertionError: expected { name: 'my-component', …(6) } to deeply equal { name: 'my-component', …(6) } - Expected + Received Object { "attributes": Array [], - "css": Object {}, + "css": Object { + "parts": undefined, + }, "deprecated": false, "description": "a simple component that shows us your name", "name": "my-component", "slots": Array [ Object { "description": "Content is placed between the named slots if provided without a slot.", "name": "", }, ], "source": Object { - "module": "../../../../some/stubbed/path/my-component.tsx", + "module": "../../../../../some/stubbed/path/my-component.tsx", "symbol": "StubCmp", }, } ❯ src/contributions/html-contributions.test.ts:260:25