mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-05 04:55:58 +01:00
✅ Update tests
This commit is contained in:
@@ -37,6 +37,7 @@ describe('login page', () => {
|
|||||||
expect(response).toStrictEqual({
|
expect(response).toStrictEqual({
|
||||||
props: {
|
props: {
|
||||||
redirectAfterLogin: null,
|
redirectAfterLogin: null,
|
||||||
|
isDemo: false,
|
||||||
_i18Next: 'hello',
|
_i18Next: 'hello',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -73,6 +74,7 @@ describe('login page', () => {
|
|||||||
expect(response).toStrictEqual({
|
expect(response).toStrictEqual({
|
||||||
props: {
|
props: {
|
||||||
redirectAfterLogin: '/manage/users/create',
|
redirectAfterLogin: '/manage/users/create',
|
||||||
|
isDemo: false,
|
||||||
_i18Next: 'hello',
|
_i18Next: 'hello',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -109,6 +111,7 @@ describe('login page', () => {
|
|||||||
expect(response).toStrictEqual({
|
expect(response).toStrictEqual({
|
||||||
props: {
|
props: {
|
||||||
redirectAfterLogin: null,
|
redirectAfterLogin: null,
|
||||||
|
isDemo: false,
|
||||||
_i18Next: 'hello',
|
_i18Next: 'hello',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user