Merge pull request #2005 from shlinkio/dependabot/npm_and_yarn/vitest-33fcfb09c6

Bump the vitest group across 1 directory with 5 updates
This commit is contained in:
Alejandro Celaya
2026-09-22 11:31:12 +02:00
committed by GitHub
4 changed files with 884 additions and 398 deletions

1264
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -36,7 +36,7 @@
"@shlinkio/shlink-frontend-kit": "^1.5.0",
"@shlinkio/shlink-js-sdk": "^3.2.1",
"@shlinkio/shlink-web-component": "^0.19.2",
"@vitest/browser-playwright": "^4.1.11",
"@vitest/browser-playwright": "^5.0.1",
"bottlejs": "^2.0.1",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
@@ -62,8 +62,8 @@
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/browser": "^4.0.3",
"@vitest/coverage-v8": "^4.1.2",
"@vitest/browser": "^5.0.1",
"@vitest/coverage-v8": "^5.0.1",
"adm-zip": "^0.6.1",
"axe-core": "^4.13.0",
"chalk": "^6.0.0",
@@ -76,8 +76,8 @@
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^4.0.3",
"vitest-browser-react": "^2.2.0"
"vitest": "^5.0.1",
"vitest-browser-react": "^2.3.0"
},
"browserslist": [
">0.2%",

View File

@@ -21,9 +21,9 @@ describe('<ImportServersBtn />', () => {
it('shows tooltip on button hover', async () => {
const { user, ...screen } = await setUp();
await expect.element(screen.getByText('You can create servers by importing a CSV file')).not.toBeInTheDocument();
await expect.element(screen.getByText(/You can create servers by importing a CSV file/)).not.toBeInTheDocument();
await user.hover(screen.getByRole('button'));
await expect.element(screen.getByText('You can create servers by importing a CSV file')).toBeInTheDocument();
await expect.element(screen.getByText(/You can create servers by importing a CSV file/)).toBeInTheDocument();
});
it.each([

View File

@@ -28,7 +28,7 @@ describe('<ServerError />', () => {
found: ['Could not find this Shlink server.'],
notFound: [
'Oops! Could not connect to this Shlink server.',
'Make sure you have internet connection, and the server is properly configured and on-line.',
/Make sure you have internet connection, and the server is properly configured and on-line/,
/^Alternatively, if you think you may have misconfigured this server/,
],
},
@@ -38,7 +38,7 @@ describe('<ServerError />', () => {
{
found: [
'Oops! Could not connect to this Shlink server.',
'Make sure you have internet connection, and the server is properly configured and on-line.',
/Make sure you have internet connection, and the server is properly configured and on-line/,
/^Alternatively, if you think you may have misconfigured this server/,
],
notFound: ['Could not find this Shlink server.'],