Skip to content

Bump jest and @types/jest (#261) #123

Bump jest and @types/jest (#261)

Bump jest and @types/jest (#261) #123

GitHub Actions / jest-github-action succeeded Sep 1, 2023 in 0s

Jest tests passed

305 tests passing in 35 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

PASS tests/index.test.ts (7.128 s)
● Console

console.info
   ROOM-CARD  1.07.25

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

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

Test Suites: 35 passed, 35 total
Tests: 305 passed, 305 total
Snapshots: 0 total
Time: 19.42 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:124:37)