refactor: Use toStrictEqual instead of toEqual for tests
This commit is contained in:
@@ -3,7 +3,6 @@ const getAppAuthClientMock = (appAuthClient) => {
|
||||
data: {
|
||||
name: appAuthClient.name,
|
||||
id: appAuthClient.id,
|
||||
appConfigId: appAuthClient.appConfigId,
|
||||
active: appAuthClient.active,
|
||||
},
|
||||
meta: {
|
||||
|
@@ -10,7 +10,6 @@ const getUserMock = (currentUser, role) => {
|
||||
description: null,
|
||||
id: role.id,
|
||||
isAdmin: role.isAdmin,
|
||||
key: role.key,
|
||||
name: role.name,
|
||||
updatedAt: role.updatedAt.getTime(),
|
||||
},
|
||||
|
@@ -13,7 +13,6 @@ const getUsersMock = async (users, roles) => {
|
||||
description: role.description,
|
||||
id: role.id,
|
||||
isAdmin: role.isAdmin,
|
||||
key: role.key,
|
||||
name: role.name,
|
||||
updatedAt: role.updatedAt.getTime(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user