aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-02-24 12:06:44 +0100
committerGravatar Matteo Bertucci <[email protected]>2021-02-24 12:06:44 +0100
commitc311359785ad28c64cd0236d223a0dab93ff0a83 (patch)
tree1736beb7a021c86d402febddf9fc628bc96468d3
parentAdd snekbox to the environment (diff)
Add unittests to the schema
-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()",
+ ...
+ }
}
```