Push on main #335
Jest tests passed
215 tests passing in 29 suites.
Details
[email protected] workflow
jest --coverage --json --outputFile=/home/runner/work/formulaone-card/formulaone-card/jest.results.json --testLocationInResults --json --coverage --outputFile=/home/runner/work/formulaone-card/formulaone-card/jest.results.json
PASS tests/cards/results.test.ts (6.982 s)
PASS tests/index.test.ts
● Console
console.info
FORMULAONE-CARD 1.8.6
at Object.info (src/index.ts:20:9)
PASS tests/cards/schedule.test.ts
PASS tests/cards/next-race.test.ts
PASS tests/utils/renderHeader.test.ts
PASS tests/cards/countdown.test.ts
PASS tests/cards/driver-standings.test.ts
PASS tests/cards/last-result.test.ts
PASS tests/api/weather-client.test.ts
PASS tests/utils/getCountryFlagUrl.test.ts
PASS tests/api/restcountry-client.test.ts
PASS tests/cards/constructor-standings.test.ts
PASS tests/utils/renderRaceInfo.test.ts
PASS tests/cards/base-card.test.ts
PASS tests/utils/getTeamImageUrl.test.ts
PASS tests/api/ergast-client.test.ts
PASS tests/utils/hasConfigOrEntitiesChanged.test.ts
PASS tests/utils/renderLastYearsResults.test.ts
PASS tests/utils/renderWeatherInfo.test.ts
PASS tests/utils/getDriverName.test.ts
PASS tests/utils/calculateWindDirection.test.ts
PASS tests/utils/getCircuitName.test.ts
PASS tests/utils/reduceArray.test.ts
PASS tests/utils/checkConfig.test.ts
PASS tests/utils/getRefreshTime.test.ts
PASS tests/lib/formate_date_time.test.ts
PASS tests/lib/formate_time.test.ts
PASS tests/lib/formate_date.test.ts
PASS tests/api/image-client.test.ts
Test Suites: 29 passed, 29 total
Tests: 215 passed, 215 total
Snapshots: 0 total
Time: 21.842 s, estimated 22 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/formulaone-card/formulaone-card/node_modules/@jest/core/build/runJest.js:221:31)
at runJest (/home/runner/work/formulaone-card/formulaone-card/node_modules/@jest/core/build/runJest.js:416:9)
at _run10000 (/home/runner/work/formulaone-card/formulaone-card/node_modules/@jest/core/build/cli/index.js:386:7)
at runCLI (/home/runner/work/formulaone-card/formulaone-card/node_modules/@jest/core/build/cli/index.js:237:3)
at Object.run (/home/runner/work/formulaone-card/formulaone-card/node_modules/jest-cli/build/cli/index.js:155:37)