UNPKG

@analogjs/vitest-angular

Version:

Vitest Builder for Angular

48 lines (47 loc) 1.4 kB
{ "version": 2, "cli": "nx", "title": "Vitest Builder for Angular", "description": "Run unit tests using Vitest.", "type": "object", "properties": { "configFile": { "type": "string", "description": "The path to the local vitest config", "x-completion-type": "file", "x-completion-glob": "@(vitest|vite).config@(.js|.ts)", "aliases": ["config"] }, "reportsDirectory": { "type": "string", "description": "Directory to write coverage report to." }, "mode": { "type": "string", "description": "Mode for Vite." }, "testFiles": { "aliases": ["testFile"], "type": "array", "items": { "type": "string" } }, "watch": { "description": "Watch files for changes and rerun tests related to changed files.", "type": "boolean" }, "ui": { "description": "Run tests using Vitest UI Mode.", "type": "boolean" }, "coverage": { "description": "Enable code coverage analysis.", "type": "boolean" }, "update": { "description": "Update snapshot.", "type": "boolean", "aliases": ["u"] } }, "required": [] }