Skip to content

Commit

Permalink
updated spec for postFromSchema test
Browse files Browse the repository at this point in the history
  • Loading branch information
ARADDCC002 committed Aug 21, 2024
1 parent b8f9556 commit 58ee037
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`routes > model > postModel > schema > 200 > ok 1`] = `
{
"card": {
"_id": "test",
},
}
`;

exports[`routes > model > postModel > schema > 400 > no description 1`] = `
{
"error": {
Expand All @@ -22,3 +30,19 @@ exports[`routes > model > postModel > schema > 400 > no description 1`] = `
},
}
`;

exports[`routes > model > postModel > schema > audit > expected call 1`] = `
{
"settings": {
"mirror": {
"sourceModelId": "",
},
},
}
`;

exports[`routes > model > postModel > schema > audit > expected call 2`] = `
{
"_id": "test",
}
`;

0 comments on commit 58ee037

Please sign in to comment.