Initial Commit #7
Annotations
7 errors and 2 warnings
src/components/image.spec.ts > Image > returns empty string if no params:
lib/clapton/javascripts/src/components/image.spec.ts#L6
AssertionError: expected '<img src=\'https://example.com/image.…' to be '<img src=\'https://example.com/image.…' // Object.is equality
Expected: "<img src='https://example.com/image.png'/>"
Received: "<img src='https://example.com/image.png' alt='undefined' />"
❯ src/components/image.spec.ts:6:63
|
src/components/image.spec.ts > Image > returns attributes and data attributes:
lib/clapton/javascripts/src/components/image.spec.ts#L10
AssertionError: expected '<img src=\'https://example.com/image.…' to be '<img src=\'https://example.com/image.…' // Object.is equality
Expected: "<img src='https://example.com/image.png' id='1' data-foo='bar'/>"
Received: "<img src='https://example.com/image.png' alt='[object Object]' />"
❯ src/components/image.spec.ts:10:95
|
src/components/link.spec.ts > Link > returns empty string if no params:
lib/clapton/javascripts/src/components/link.spec.ts#L7
AssertionError: expected '<a href=\'\' ></a>' to be '<a href=\'\'></a>' // Object.is equality
Expected: "<a href=''></a>"
Received: "<a href='' ></a>"
❯ src/components/link.spec.ts:7:33
|
src/components/link.spec.ts > Link > returns attributes and data attributes:
lib/clapton/javascripts/src/components/link.spec.ts#L11
AssertionError: expected '<a href=\'#\' ></a>' to be '<a href=\'#\'></a>' // Object.is equality
Expected: "<a href='#'></a>"
Received: "<a href='#' ></a>"
❯ src/components/link.spec.ts:11:52
|
src/components/link.spec.ts > Link > returns attributes and data attributes with custom data attributes:
lib/clapton/javascripts/src/components/link.spec.ts#L15
AssertionError: expected '<a href=\'#\' id=\'1\' data-foo=\'bar…' to be '<a id=\'1\' data-foo=\'bar\'></a>' // Object.is equality
Expected: "<a id='1' data-foo='bar'></a>"
Received: "<a href='#' id='1' data-foo='bar'></a>"
❯ src/components/link.spec.ts:15:69
|
src/components/link.spec.ts > Link > adds children:
lib/clapton/javascripts/src/components/link.spec.ts#L21
AssertionError: expected '<a href=\'#\' >Hello</a>' to be '<a href=\'#\'>Hello</a>' // Object.is equality
Expected: "<a href='#'>Hello</a>"
Received: "<a href='#' >Hello</a>"
❯ src/components/link.spec.ts:21:57
|
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-ruby@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-ruby@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|