Skip to content

Commit ecd0cbe

Browse files
authored
docs: remove X links (#6868)
1 parent 0d67f04 commit ecd0cbe

File tree

7 files changed

+4
-22
lines changed

7 files changed

+4
-22
lines changed

docs/.vitepress/components/FeaturesList.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
>
77
<ListItem><a target="_blank" href="https://vitejs.dev" rel="noopener noreferrer">Vite</a>'s config, transformers, resolvers, and plugins</ListItem>
88
<ListItem>Use the same setup from your app to run the tests!</ListItem>
9-
<ListItem><a target="_blank" href="https://twitter.com/antfu7/status/1468233216939245579" rel="noopener noreferrer">Smart & instant watch mode, like HMR for tests!</a></ListItem>
9+
<ListItem>Smart & instant watch mode, like HMR for tests!</ListItem>
1010
<ListItem>Component testing for Vue, React, Svelte, Lit, Marko and more</ListItem>
1111
<ListItem>Out-of-the-box TypeScript / JSX support</ListItem>
1212
<ListItem>ESM first, top level await</ListItem>

docs/.vitepress/config.ts

-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
ogImage,
1515
ogUrl,
1616
releases,
17-
twitter,
1817
vitestDescription,
1918
vitestName,
2019
} from './meta'
@@ -107,7 +106,6 @@ export default ({ mode }: { mode: string }) => {
107106
socialLinks: [
108107
{ icon: 'bluesky', link: bluesky },
109108
{ icon: 'mastodon', link: mastodon },
110-
{ icon: 'x', link: twitter },
111109
{ icon: 'discord', link: discord },
112110
{ icon: 'github', link: github },
113111
],

docs/.vitepress/contributors.ts

-15
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export interface Contributor {
99
export interface CoreTeam extends DefaultTheme.TeamMember {
1010
// required to download avatars from GitHub
1111
github: string
12-
twitter?: string
1312
bluesky?: string
1413
mastodon?: string
1514
discord?: string
@@ -46,10 +45,6 @@ function createLinks(tm: CoreTeam): CoreTeam {
4645
tm.links.push({ icon: 'youtube', link: `https://www.youtube.com/@${tm.youtube}` })
4746
}
4847

49-
if (tm.twitter) {
50-
tm.links.push({ icon: 'x', link: `https://twitter.com/${tm.twitter}` })
51-
}
52-
5348
return tm
5449
}
5550

@@ -60,7 +55,6 @@ const plainTeamMembers: CoreTeam[] = [
6055
github: 'sheremet-va',
6156
bluesky: 'https://bsky.app/profile/erus.dev',
6257
mastodon: 'https://elk.zone/m.webtoo.ls/@sheremet_va',
63-
twitter: 'sheremet_va',
6458
sponsor: 'https://github.com/sponsors/sheremet-va',
6559
title: 'An open source fullstack developer',
6660
desc: 'Core team member of Vitest & Vite',
@@ -71,7 +65,6 @@ const plainTeamMembers: CoreTeam[] = [
7165
github: 'antfu',
7266
bluesky: 'https://bsky.app/profile/antfu.me',
7367
mastodon: 'https://elk.zone/m.webtoo.ls/@antfu',
74-
twitter: 'antfu7',
7568
discord: 'https://chat.antfu.me',
7669
youtube: 'antfu',
7770
sponsor: 'https://github.com/sponsors/antfu',
@@ -86,7 +79,6 @@ const plainTeamMembers: CoreTeam[] = [
8679
github: 'AriPerkkio',
8780
bluesky: 'https://bsky.app/profile/ariperkkio.dev',
8881
mastodon: 'https://elk.zone/m.webtoo.ls/@AriPerkkio',
89-
twitter: 'ari_perkkio',
9082
sponsor: 'https://github.com/sponsors/AriPerkkio',
9183
title: 'Open source engineer, working',
9284
desc: 'Core team member of Vitest',
@@ -99,7 +91,6 @@ const plainTeamMembers: CoreTeam[] = [
9991
github: 'patak-dev',
10092
bluesky: 'https://bsky.app/profile/patak.dev',
10193
mastodon: 'https://elk.zone/m.webtoo.ls/@patak',
102-
twitter: 'patak_dev',
10394
sponsor: 'https://github.com/sponsors/patak-dev',
10495
title: 'A collaborative being, working',
10596
org: 'StackBlitz',
@@ -112,7 +103,6 @@ const plainTeamMembers: CoreTeam[] = [
112103
github: 'userquin',
113104
bluesky: 'https://bsky.app/profile/userquin.bsky.social',
114105
mastodon: 'https://elk.zone/m.webtoo.ls/@userquin',
115-
twitter: 'userquin',
116106
title: 'A fullstack and android developer',
117107
desc: 'Vite\'s fanatical follower',
118108
},
@@ -121,7 +111,6 @@ const plainTeamMembers: CoreTeam[] = [
121111
name: 'Hiroshi Ogawa',
122112
github: 'hi-ogawa',
123113
bluesky: 'https://bsky.app/profile/hiogawa.bsky.social',
124-
twitter: 'hiroshi_18181',
125114
title: 'Open source enthusiast',
126115
desc: 'Team member of Vitest',
127116
},
@@ -132,7 +121,6 @@ const plainTeamEmeritiMembers: CoreTeam[] = [
132121
avatar: contributorsAvatars.Dunqing,
133122
name: 'Dunqing',
134123
github: 'Dunqing',
135-
twitter: '@Dunqingg',
136124
title: 'A passionate enthusiast of open source contributions',
137125
desc: 'Team member of oxc & UnoCSS',
138126
},
@@ -142,7 +130,6 @@ const plainTeamEmeritiMembers: CoreTeam[] = [
142130
github: 'Aslemammad',
143131
bluesky: 'https://bsky.app/profile/aslemammad.bsky.social',
144132
mastodon: 'https://elk.zone/m.webtoo.ls/@aslemammad',
145-
twitter: 'asleMammadam',
146133
title: 'An open source developer',
147134
desc: 'Team member of Poimandres & Vike',
148135
},
@@ -158,7 +145,6 @@ const plainTeamEmeritiMembers: CoreTeam[] = [
158145
avatar: contributorsAvatars.poyoho,
159146
name: 'Yoho Po',
160147
github: 'poyoho',
161-
twitter: '@yoho_po',
162148
title: 'It\'s no problem in my locall',
163149
desc: 'Core team member of Vite & Team member of Vitest',
164150
},
@@ -168,7 +154,6 @@ const plainTeamEmeritiMembers: CoreTeam[] = [
168154
github: 'zxch3n',
169155
bluesky: 'https://bsky.app/profile/zxch3n.bsky.social',
170156
mastodon: 'https://elk.zone/hachyderm.io/@zx',
171-
twitter: 'zxch3n',
172157
title: 'A fullstack developer',
173158
desc: 'Working on CRDTs & local-first software',
174159
},

docs/.vitepress/meta.ts

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export const contributing = 'https://github.com/vitest-dev/vitest/blob/main/CONT
2121
export const discord = 'https://chat.vitest.dev'
2222
export const bluesky = 'https://bsky.app/profile/vitest.dev'
2323
export const mastodon = 'https://elk.zone/m.webtoo.ls/@vitest'
24-
export const twitter = 'https://twitter.com/vitest_dev'
2524

2625
/* Avatar/Image/Sponsors servers */
2726
export const preconnectLinks = [googleapis, gstatic]

docs/guide/comparisons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Comparisons with Other Test Runners | Guide
88

99
[Jest](https://jestjs.io/) took over the Testing Framework space by providing out-of-the-box support for most JavaScript projects, a comfortable API (`it` and `expect`), and the full pack of testing features that most setups would require (snapshots, mocks, coverage). We are thankful to the Jest team and community for creating a delightful testing API and pushing forward a lot of the testing patterns that are now a standard in the web ecosystem.
1010

11-
It is possible to use Jest in Vite setups. [@sodatea](https://twitter.com/haoqunjiang) built [vite-jest](https://github.com/sodatea/vite-jest#readme), which aims to provide first-class Vite integration for [Jest](https://jestjs.io/). The last [blockers in Jest](https://github.com/sodatea/vite-jest/blob/main/packages/vite-jest/README.md#vite-jest) have been solved, so this is a valid option for your unit tests.
11+
It is possible to use Jest in Vite setups. [@sodatea](https://bsky.app/profile/haoqun.dev) built [vite-jest](https://github.com/sodatea/vite-jest#readme), which aims to provide first-class Vite integration for [Jest](https://jestjs.io/). The last [blockers in Jest](https://github.com/sodatea/vite-jest/blob/main/packages/vite-jest/README.md#vite-jest) have been solved, so this is a valid option for your unit tests.
1212

1313
However, in a world where we have [Vite](https://vitejs.dev) providing support for the most common web tooling (TypeScript, JSX, most popular UI Frameworks), Jest represents a duplication of complexity. If your app is powered by Vite, having two different pipelines to configure and maintain is not justifiable. With Vitest you get to define the configuration for your dev, build and test environments as a single pipeline, sharing the same plugins and the same vite.config.js.
1414

docs/guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Learn more at [Configuring Vitest](/guide/#configuring-vitest).
2222
$ vitest
2323
```
2424

25-
When you modify your source code or the test files, Vitest smartly searches the module graph and only reruns the related tests, [just like how HMR works in Vite!](https://twitter.com/antfu7/status/1468233216939245579)
25+
When you modify your source code or the test files, Vitest smartly searches the module graph and only reruns the related tests, just like how HMR works in Vite!
2626

2727
`vitest` starts in `watch mode` **by default in development environment** and `run mode` in CI environment (when `process.env.CI` presents) smartly. You can use `vitest watch` or `vitest run` to explicitly specify the desired mode.
2828

docs/guide/why.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Why Vitest | Guide
55
# Why Vitest
66

77
:::tip NOTE
8-
This guide assumes that you are familiar with Vite. A good way to start learning more is to read the [Why Vite Guide](https://vitejs.dev/guide/why.html), and [Next generation frontend tooling with ViteJS](https://www.youtube.com/watch?v=UJypSr8IhKY), a stream where [Evan You](https://twitter.com/youyuxi) did a demo explaining the main concepts.
8+
This guide assumes that you are familiar with Vite. A good way to start learning more is to read the [Why Vite Guide](https://vitejs.dev/guide/why.html), and [Next generation frontend tooling with ViteJS](https://www.youtube.com/watch?v=UJypSr8IhKY), a stream where [Evan You](https://bsky.app/profile/evanyou.me) did a demo explaining the main concepts.
99
:::
1010

1111
## The Need for a Vite Native Test Runner

0 commit comments

Comments
 (0)