mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-10-16 18:54:08 +00:00
Fix tests for vitest 5
This commit is contained in:
@@ -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.'],
|
||||
|
||||
Reference in New Issue
Block a user