Bump vitest from 3.2.4 to 4.1.8 #54
Annotations
6 errors and 4 warnings
|
test
Process completed with exit code 1.
|
|
src/lib/geocode.test.ts > geocode DB layer > does not write to DB for null API results:
packages/server/src/lib/geocode.test.ts#L205
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
Object {},
"alexanderplatz, berlin",
Object {
"displayName": "Alexanderplatz, Mitte, Berlin",
"lat": 52.5219184,
"lon": 13.4132147,
},
"nominatim",
]
Number of calls: 1
❯ src/lib/geocode.test.ts:205:35
|
|
src/cron/ingest-safety.test.ts > ingest-safety — DB coordinate reuse > geocodes only new items when some already have DB coordinates:
packages/server/src/cron/ingest-safety.test.ts#L147
AssertionError: expected "vi.fn()" to be called 1 times, but got 3 times
❯ src/cron/ingest-safety.test.ts:147:30
|
|
src/cron/ingest-safety.test.ts > ingest-safety — DB coordinate reuse > carries over coordinates from DB and skips geocoding for known items:
packages/server/src/cron/ingest-safety.test.ts#L112
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
"berlin",
"Berlin",
Array [
Object {
"description": "Am Samstag wurde ein Mann beraubt.",
"title": "Raub in Mitte – Täter flüchtig",
},
Object {
"description": "Bei einem Unfall wurden zwei Personen verletzt.",
"title": "Verkehrsunfall in Kreuzberg",
},
],
]
2nd vi.fn() call:
Array [
"berlin",
"Berlin",
Array [
Object {
"description": "Am Samstag wurde ein Mann beraubt.",
"title": "Raub in Mitte – Täter flüchtig",
},
Object {
"description": "Bei einem Unfall wurden zwei Personen verletzt.",
"title": "Verkehrsunfall in Kreuzberg",
},
],
]
Number of calls: 2
❯ src/cron/ingest-safety.test.ts:112:34
|
|
src/cron/ingest-bathing.test.ts > ingest-bathing > sets inSeason based on current date:
packages/server/src/cron/ingest-bathing.test.ts#L201
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/cron/ingest-bathing.test.ts:201:27
|
|
test
@city-monitor/server#test: command (/home/runner/work/city-monitor/city-monitor/packages/server) /opt/hostedtoolcache/node/22.22.3/x64/bin/npm run test exited (1)
|
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|