Skip to content

build(dev-deps): update vitest to 3.0.6#109

Merged
dsanders11 merged 2 commits intomainfrom
build/bump-vitest
Feb 22, 2025
Merged

build(dev-deps): update vitest to 3.0.6#109
dsanders11 merged 2 commits intomainfrom
build/bump-vitest

Conversation

@dsanders11
Copy link
Member

As in title.

@dsanders11 dsanders11 marked this pull request as ready for review February 22, 2025 01:23
@dsanders11 dsanders11 requested a review from a team as a code owner February 22, 2025 01:23
Comment on lines +1 to +2
/// <reference types="vitest/config" />
import { defineConfig } from 'vitest/config';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the reference to vitest/config is only necessary when importing defineConfig from vite, we don't need it when we're already importing that type directly:

Suggested change
/// <reference types="vitest/config" />
import { defineConfig } from 'vitest/config';
import { defineConfig } from 'vitest/config';

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that makes sense. I also thought that was odd, but I think @erickzhao and I got confused by the docs, see https://github.com/electron/forge/pull/3797/files#r1909540910. The docs link in those comments is dead now, but I see what you're referring to in the current docs. Good to know going forward, we'll clean them up. Thanks @erikian!

@dsanders11 dsanders11 merged commit e16e075 into main Feb 22, 2025
9 checks passed
@dsanders11 dsanders11 deleted the build/bump-vitest branch February 22, 2025 01:47
@continuous-auth
Copy link

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants