Bump @babel/plugin-transform-runtime from 7.22.5 to 7.24.3 #502
Jest tests passed
216 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/schedule.test.ts (10.21 s)
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/schedule.ts:8:1)
at Object.<anonymous> (tests/cards/schedule.test.ts:7:1)
PASS tests/cards/results.test.ts (10.352 s)
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/results.ts:6:1)
at Object.<anonymous> (tests/cards/results.test.ts:8:1)
PASS tests/index.test.ts (10.987 s)
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/index.ts:6:1)
at Object.<anonymous> (tests/index.test.ts:8:1)
console.info
FORMULAONE-CARD 1.9.2
at Object.info (src/index.ts:20:9)
console.log
Refreshing cache...
at FormulaOneCard.log [as refreshCache] (src/index.ts:145:17)
PASS tests/cards/next-race.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/next-race.ts:4:1)
at Object.<anonymous> (tests/cards/next-race.test.ts:7:1)
PASS tests/cards/countdown.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/countdown.ts:3:1)
at Object.<anonymous> (tests/cards/countdown.test.ts:7:1)
PASS tests/cards/driver-standings.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/driver-standings.ts:5:1)
at Object.<anonymous> (tests/cards/driver-standings.test.ts:7:1)
PASS tests/cards/last-result.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/last-result.ts:5:1)
at Object.<anonymous> (tests/cards/last-result.test.ts:7:1)
PASS tests/utils/renderHeader.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/renderHeader.test.ts:7:1)
PASS tests/utils/getCountryFlagUrl.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/getCountryFlagUrl.test.ts:4:1)
PASS tests/utils/renderRaceInfo.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/renderRaceInfo.test.ts:8:1)
PASS tests/api/restcountry-client.test.ts
PASS tests/api/ergast-client.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/api/ergast-client.ts:1:1)
at Object.<anonymous> (tests/api/ergast-client.test.ts:1:1)
PASS tests/cards/constructor-standings.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/constructor-standings.ts:5:1)
at Object.<anonymous> (tests/cards/constructor-standings.test.ts:7:1)
PASS tests/utils/hasConfigOrEntitiesChanged.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/hasConfigOrEntitiesChanged.test.ts:6:1)
PASS tests/utils/renderLastYearsResults.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/renderLastYearsResults.test.ts:4:1)
PASS tests/cards/base-card.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (src/cards/constructor-standings.ts:5:1)
at Object.<anonymous> (tests/cards/base-card.test.ts:10:1)
PASS tests/utils/reduceArray.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/reduceArray.test.ts:1:1)
PASS tests/utils/getTeamImageUrl.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/getTeamImageUrl.test.ts:1:1)
PASS tests/utils/renderWeatherInfo.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/renderWeatherInfo.test.ts:4:1)
PASS tests/utils/getDriverName.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/getDriverName.test.ts:4:1)
PASS tests/utils/getRefreshTime.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/getRefreshTime.test.ts:1:1)
PASS tests/utils/calculateWindDirection.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/calculateWindDirection.test.ts:1:1)
PASS tests/utils/getCircuitName.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/getCircuitName.test.ts:1:1)
PASS tests/lib/formate_date_time.test.ts
PASS tests/api/weather-client.test.ts
PASS tests/api/image-client.test.ts
PASS tests/lib/formate_date.test.ts
PASS tests/utils/checkConfig.test.ts
● Console
console.warn
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
4 | import { fireEvent } from 'custom-card-helpers';
5 | import { ActionHandlerElement } from '../types/formulaone-card-types';
> 6 | import { noChange } from 'lit-element';
| ^
7 |
8 | const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
9 |
at Object.warn (node_modules/lit-element/src/index.ts:12:9)
at Object.<anonymous> (src/directives/action-handler-directive.ts:6:1)
at Object.<anonymous> (src/utils.ts:10:1)
at Object.<anonymous> (tests/utils/checkConfig.test.ts:1:1)
PASS tests/lib/formate_time.test.ts
Test Suites: 29 passed, 29 total
Tests: 216 passed, 216 total
Snapshots: 0 total
Time: 20.8 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/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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _run10000 (/home/runner/work/formulaone-card/formulaone-card/node_modules/@jest/core/build/cli/index.js:386:7)
at async runCLI (/home/runner/work/formulaone-card/formulaone-card/node_modules/@jest/core/build/cli/index.js:237:3)
at async Object.run (/home/runner/work/formulaone-card/formulaone-card/node_modules/jest-cli/build/cli/index.js:155:37)