Skip to content

Commit 68ac717

Browse files
committed
chore(deps-dev): bump vitest from 3.0.9 to 3.1.1
1 parent 48c3744 commit 68ac717

11 files changed

Lines changed: 107 additions & 95 deletions

File tree

__tests__/common/cloudflare/api/endpoints.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '@/common/cloudflare/api/endpoints.js'
77

88
describe('endpoints', () => {
9-
describe('getCloudflareApiEndpoint', () => {
9+
describe(getCloudflareApiEndpoint, () => {
1010
test('returns correct url', () => {
1111
expect.assertions(1)
1212

@@ -45,7 +45,7 @@ describe('endpoints', () => {
4545
})
4646
})
4747

48-
describe('getCloudflareLogEndpoint', () => {
48+
describe(getCloudflareLogEndpoint, () => {
4949
test('returns correct url', () => {
5050
expect.assertions(2)
5151

__tests__/common/cloudflare/api/fetch-error.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const RESOURCE_URL = `https://api.cloudflare.com/path`
99

1010
vi.mock('@actions/core')
1111

12-
describe('throwFetchError', () => {
12+
describe(throwFetchError, () => {
1313
test('throws parsed error with notes', () => {
1414
expect.assertions(3)
1515

__tests__/common/cloudflare/api/fetch-result.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const RESOURCE_URL = `${RESOURCE_URL_DOMAIN}${RESOURCE_URL_PATH}`
1717
vi.mock('@actions/core')
1818

1919
describe('api', () => {
20-
describe('fetchResult', () => {
20+
describe(fetchResult, () => {
2121
let mockApi: MockApi
2222

2323
beforeEach(() => {

__tests__/common/cloudflare/deployment/create.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {INPUT_KEY_WORKING_DIRECTORY} from '@/input-keys'
2020
vi.mock('@/common/utils.js')
2121
vi.mock('@actions/core')
2222

23-
describe('createCloudflareDeployment', () => {
23+
describe(createCloudflareDeployment, () => {
2424
describe('api calls', () => {
2525
let mockApi: MockApi
2626

__tests__/common/cloudflare/deployment/get.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {PagesDeployment} from '@/common/cloudflare/types.js'
44

55
import {getCloudflareDeploymentAlias} from '@/common/cloudflare/deployment/get.js'
66

7-
describe('getCloudflareDeploymentAlias', () => {
7+
describe(getCloudflareDeploymentAlias, () => {
88
test('returns deployment url when aliases is null', () => {
99
expect.assertions(1)
1010

__tests__/common/github/comment.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import * as Context from '@/common/github/context.js'
1414

1515
vi.mock('@actions/core')
1616

17-
describe('addComment', () => {
17+
describe(addComment, () => {
1818
const mockData = RESPONSE_DEPLOYMENTS.result[0] as unknown as PagesDeployment
1919
let mockApi: MockApi
2020

__tests__/common/github/deployment/payload.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const PAYLOAD_V2 = {
3030
url: 'https://example.com'
3131
} as const satisfies PayloadGithubDeploymentV2
3232

33-
describe('getPayload', () => {
33+
describe(getPayload, () => {
3434
// const spyGetInput = vi.spyOn(core, 'getInput')
3535

3636
test('returns payload if it is already a PayloadGithubDeploymentV2', () => {

__tests__/common/github/environment.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('environment', () => {
5151
await mockApi.mockAgent.close()
5252
})
5353

54-
describe('createEnvironment', () => {
54+
describe(createEnvironment, () => {
5555
test('success', async () => {
5656
expect.assertions(3)
5757

@@ -142,7 +142,7 @@ describe('environment', () => {
142142
})
143143
})
144144

145-
describe('checkEnvironment', () => {
145+
describe(checkEnvironment, () => {
146146
const spySetFailed = vi.mocked(setFailed)
147147

148148
test('success', async () => {

__tests__/deploy/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('deploy', () => {
3737
await mockApi.mockAgent.close()
3838
})
3939

40-
describe('run', () => {
40+
describe(run, () => {
4141
describe('handles resolve', () => {
4242
beforeEach(() => {
4343
vi.mocked(execAsync).mockResolvedValue({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@tsconfig/node20": "20.1.5",
6666
"@types/json-schema": "7.0.15",
6767
"@types/node": "20.17.28",
68-
"@vitest/eslint-plugin": "1.1.38",
68+
"@vitest/eslint-plugin": "1.1.43",
6969
"dotenv": "16.4.7",
7070
"esbuild": "0.25.2",
7171
"eslint": "9.23.0",
@@ -81,7 +81,7 @@
8181
"typescript-eslint": "8.28.0",
8282
"undici": "7.6.0",
8383
"vite": "6.2.6",
84-
"vitest": "3.0.9",
84+
"vitest": "3.1.1",
8585
"wrangler": "^4.6.0"
8686
},
8787
"peerDependencies": {

0 commit comments

Comments
 (0)