Skip to content

Push on master

Push on master #212

GitHub Actions / jest-github-action succeeded Dec 1, 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.
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.
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/entity/entityIcon.test.ts (7.749 s)
PASS tests/entity/renderIcon.test.ts (7.928 s)
PASS tests/index.test.ts (7.964 s)
● Console

console.info
   ROOM-CARD  1.08.02

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

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

Test Suites: 36 passed, 36 total
Tests: 313 passed, 313 total
Snapshots: 0 total
Time: 15.138 s
Ran all test suites.
TypeError [ERR_INVALID_ARG_TYPE]: 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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _run10000 (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/cli/index.js:343:7)
at async runCLI (/home/runner/work/room-card/room-card/node_modules/@jest/core/build/cli/index.js:198:3)
at async Object.run (/home/runner/work/room-card/room-card/node_modules/jest-cli/build/run.js:130:37)