Skip to content

chore(deps): update vitest monorepo to v4 (major) #2125

chore(deps): update vitest monorepo to v4 (major)

chore(deps): update vitest monorepo to v4 (major) #2125

Triggered via pull request December 26, 2025 09:54
Status Failure
Total duration 25s
Artifacts

github-actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Lint
Process completed with exit code 2.
Lint: tests/utils.test.ts#L81
Argument of type '_MockProxy<JWT> & JWT' is not assignable to parameter of type 'void'.
Lint: tests/utils.test.ts#L61
Argument of type '_MockProxy<JWT> & JWT' is not assignable to parameter of type 'void'.
tests/verifyConditions.test.ts > verifyConditions > error due to missing environment variable: tests/verifyConditions.test.ts#L79
AssertionError: expected "vi.fn()" to be called +0 times, but got 2 times ❯ tests/verifyConditions.test.ts:79:19
tests/verifyConditions.test.ts > verifyConditions > success with useGithubOidc=true: tests/verifyConditions.test.ts#L72
AssertionError: expected "vi.fn()" to be called +0 times, but got 1 times ❯ tests/verifyConditions.test.ts:72:36
tests/verifyConditions.test.ts > verifyConditions > success with publishPub=false: tests/verifyConditions.test.ts#L61
AssertionError: expected "vi.fn()" to be called +0 times, but got 1 times ❯ tests/verifyConditions.test.ts:61:36
tests/utils.test.ts > getGoogleIdentityToken > error due to invalid service account: tests/utils.test.ts#L74
AssertionError: expected "vi.fn()" to be called +0 times, but got 1 times ❯ tests/utils.test.ts:74:17
tests/utils.test.ts > getGoogleIdentityToken > success: src/utils.ts#L25
TypeError: () => value is not a constructor ❯ Module.getGoogleIdentityToken src/utils.ts:25:21 ❯ tests/utils.test.ts:63:26
tests/publish.test.ts > publish > error due to missing environment variable: tests/publish.test.ts#L127
AssertionError: expected "vi.fn()" to be called +0 times, but got 1 times ❯ tests/publish.test.ts:127:36
tests/publish.test.ts > publish > skip publish: tests/publish.test.ts#L118
AssertionError: expected "vi.fn()" to be called +0 times, but got 1 times ❯ tests/publish.test.ts:118:36
tests/prepare.test.ts > prepare > error due to invalid build number: tests/prepare.test.ts#L130
AssertionError: expected "vi.fn()" to be called +0 times, but got 6 times ❯ tests/prepare.test.ts:130:27
tests/prepare.test.ts > prepare > success with pubspec version without build number (updateBuildNumber = true): tests/prepare.test.ts#L114
AssertionError: expected 1st "vi.fn()" call to have been called with [ 'pubspec.yaml', …(1) ] - Expected + Received @@ -1,9 +1,9 @@ [ "pubspec.yaml", "name: pub_package - version: 1.2.3+1 + version: 1.2.3 environment: sdk: \">=3.0.0 <4.0.0\" dependencies: ❯ tests/prepare.test.ts:114:27
tests/prepare.test.ts > prepare > success with pubspec version with build number (updateBuildNumber = true): tests/prepare.test.ts#L95
AssertionError: expected 1st "vi.fn()" call to have been called with [ 'pubspec.yaml', …(1) ] - Expected + Received @@ -1,9 +1,9 @@ [ "pubspec.yaml", "name: pub_package - version: 1.2.3+2 + version: 1.2.3 environment: sdk: \">=3.0.0 <4.0.0\" dependencies: ❯ tests/prepare.test.ts:95:27