aboutsummaryrefslogtreecommitdiffstats
path: root/SCHEMA.md
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-02-28 14:26:39 +0300
committerGravatar GitHub <[email protected]>2021-02-28 14:26:39 +0300
commitcf13799c32d4c9ef9098215fc103f4a144077581 (patch)
tree8538fe46d101fb2f953df7fb19da93c10643dc88 /SCHEMA.md
parentMerge pull request #64 from python-discord/abouelela-codeowners (diff)
parentMerge branch 'main' into feat/9/unittest-validation (diff)
Merge pull request #63 from python-discord/feat/9/unittest-validation
Support code unit testing through snekbox
Diffstat (limited to 'SCHEMA.md')
-rw-r--r--SCHEMA.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index 6aae7d6..ada828e 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -123,7 +123,12 @@ Textareas require no additional configuration.
```js
{
// A supported language from https://prismjs.com/#supported-languages
- "language": "python"
+ "language": "python",
+ // An optinal mapping of unit tests
+ "unittests": {
+ "unit_1": "unit_code()",
+ ...
+ }
}
```