test(app-auth-client): write model tests

This commit is contained in:
Ali BARIN
2024-10-01 15:23:52 +00:00
parent 13c0a8ceaa
commit 737391c721
3 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`AppAuthClient model > jsonSchema should have correct validations 1`] = `
{
"properties": {
"active": {
"type": "boolean",
},
"appKey": {
"type": "string",
},
"authDefaults": {
"type": [
"string",
"null",
],
},
"createdAt": {
"type": "string",
},
"formattedAuthDefaults": {
"type": "object",
},
"id": {
"format": "uuid",
"type": "string",
},
"updatedAt": {
"type": "string",
},
},
"required": [
"name",
"appKey",
"formattedAuthDefaults",
],
"type": "object",
}
`;