ng-tester
Version:
A library containing structured, opinionated Angular testing schematics.
28 lines (27 loc) • 716 B
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsUnitTest",
"title": "Unit Test Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the component for which the spec file will be created.",
"x-prompt": "Which component are you testing (i.e. \"App\" if you're testing app.component.ts)?"
},
"path": {
"type": "string",
"format": "path",
"description": "The path to the component.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
}
},
"required": ["name"]
}