Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

104 error custom element doesnt exist on builtin cards #278

Merged

Codecov

ca6794a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

104 error custom element doesnt exist on builtin cards #278

Codecov
ca6794a
Select commit
Loading
Failed to load commit list.
GitHub Actions / jest-github-action succeeded Oct 14, 2023 in 0s

Jest tests passed

313 tests passing in 36 suites.

Details

[email protected] workflow
jest --coverage --json --outputFile=/home/runner/work/room-card/room-card/jest.results.json --testLocationInResults --json --coverage --outputFile=/home/runner/work/room-card/room-card/jest.results.json

DeprecationWarning: 'createParameterDeclaration' has been deprecated since v4.8.0. Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a 'decorators' parameter.
DeprecationWarning: 'createMethodDeclaration' has been deprecated since v4.8.0. Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a 'decorators' parameter.
DeprecationWarning: 'createImportDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.
PASS tests/index.test.ts (5.719 s)
● Console

console.info
   ROOM-CARD  1.08.00

  at Object.info (src/index.ts:13:9)

PASS tests/entity/entityIcon.test.ts
PASS tests/entity/renderInfoEntity.test.ts
PASS tests/entity/renderEntity.test.ts
PASS tests/template/mapTemplate.test.ts
PASS tests/util/getEntityIds.test.ts
PASS tests/hide/hideIfEntity.test.ts
PASS tests/entity/renderTitle.test.ts
PASS tests/entity/entityStateDisplay.test.ts
PASS tests/entity/renderIcon.test.ts
PASS tests/lib/compute_state_display.test.ts
PASS tests/entity/renderValue.test.ts
PASS tests/hide/hideIfCard.test..ts
PASS tests/util/evalTemplate.test.ts
PASS tests/entity/entityName.test.ts
PASS tests/entity/checkConfig.test.ts
PASS tests/entity/renderEntitiesRow.test.ts
PASS tests/entity/entityStyles.test.ts
PASS tests/entity/renderMainEntity.test.ts
PASS tests/util/hasConfigOrEntitiesChanged.test.ts
PASS tests/template/getTemplateOrAttribute.test.ts
PASS tests/util/getConditionEntities.test.ts
PASS tests/template/templateStyling.test.ts
PASS tests/hide/hideIfRow.test.ts
PASS tests/lib/format_number.test.ts
PASS tests/util/getValue.test.ts
PASS tests/util/isUnavailable.test.ts
PASS tests/hide/hideUnavailable.test.ts
PASS tests/util/mapStateObject.test.ts
PASS tests/util/getEntity.test.ts
PASS tests/lib/format_date_time.test.ts
PASS tests/entity/computeEntity.test.ts
PASS tests/util/isObject.test.ts
PASS tests/util/renderClasses.test.ts
PASS tests/util/parseConfig.test.ts
PASS tests/lib/seconds_to_duration.test.ts

Test Suites: 36 passed, 36 total
Tests: 313 passed, 313 total
Snapshots: 0 total
Time: 16.942 s
Ran all test suites.
TypeError: The "paths[1]" argument must be of type string. Received an instance of Array
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at Object.resolve (node:path:1097:7)
at processResults (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/runJest.js:191:31)
at runJest (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/runJest.js:382:9)
at _run10000 (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/cli/index.js:343:7)
at runCLI (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/cli/index.js:198:3)
at Object.run (/home/runner/work/room-card/room-card/node_modules/jest-cli/build/run.js:130:37)