Skip to content

Commit

Permalink
refactor(content): support the new content shape for QA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica01Talent committed Dec 11, 2024
1 parent b5e1e21 commit 3ac7ca7
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
10 changes: 10 additions & 0 deletions content/ def.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "campus",
"name": "qa",
"attrs": {
"capacity": 5
},
"children": {
"module-m1": {}
}
}
10 changes: 10 additions & 0 deletions content/module-m1/def.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "module",
"name": "module-m1",
"attrs": {
"capacity": 5
},
"children": {
"project-p1": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Project A
# Project P1

This is an example of a dummy project subject

Expand Down
File renamed without changes.
21 changes: 21 additions & 0 deletions content/project-p1/def.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "project",
"name": "project-p1",
"attrs": {
"groupMax": 2,
"groupMin": 1,
"validations": [
{
"type": "user_audit",
"delay": 0,
"ratio": 2,
"required": 1,
"matchWhere": {
"name": "userInEvent",
"type": "function"
}
}
],
"requiredAuditRatio": 0
}
}

0 comments on commit 3ac7ca7

Please sign in to comment.