test.d.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Runs unit tests in a project.
  3. */
  4. export interface Schema {
  5. /**
  6. * A named build target, as specified in the "configurations" section of angular.json.
  7. * Each named target is accompanied by a configuration of option defaults for that target.
  8. * Setting this explicitly overrides the "--prod" flag
  9. */
  10. configuration?: string;
  11. /**
  12. * Shows a help message for this command in the console.
  13. */
  14. help?: HelpUnion;
  15. /**
  16. * Shorthand for "--configuration=production".
  17. * When true, sets the build configuration to the production target.
  18. * By default, the production target is set up in the workspace configuration such that all
  19. * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
  20. */
  21. prod?: boolean;
  22. /**
  23. * The name of the project to build. Can be an application or a library.
  24. */
  25. project?: string;
  26. }
  27. /**
  28. * Shows a help message for this command in the console.
  29. */
  30. export declare type HelpUnion = boolean | HelpEnum;
  31. export declare enum HelpEnum {
  32. HelpJson = "JSON",
  33. Json = "json"
  34. }