test(config): write model tests

This commit is contained in:
Ali BARIN
2024-10-10 17:06:49 +00:00
parent 623ec66a79
commit c868070337
3 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`Config model > jsonSchema should have correct validations 1`] = `
{
"properties": {
"createdAt": {
"type": "string",
},
"id": {
"format": "uuid",
"type": "string",
},
"installationCompleted": {
"type": "boolean",
},
"logoSvgData": {
"type": [
"string",
"null",
],
},
"palettePrimaryDark": {
"type": [
"string",
"null",
],
},
"palettePrimaryLight": {
"type": [
"string",
"null",
],
},
"palettePrimaryMain": {
"type": [
"string",
"null",
],
},
"title": {
"type": [
"string",
"null",
],
},
"updatedAt": {
"type": "string",
},
},
"type": "object",
}
`;