summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/packages/ng-schematics/src/schematics/ng-add/schema.json
blob: 77cb5bdd4808ddc4f93cd5776dca38dba0f578d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "$schema": "http://json-schema.org/schema",
  "$id": "Puppeteer",
  "title": "Puppeteer Install Schema",
  "type": "object",
  "properties": {
    "isDefaultTester": {
      "description": "",
      "type": "boolean",
      "default": true,
      "x-prompt": "Use Puppeteer as default `ng e2e` command?"
    },
    "exportConfig": {
      "description": "",
      "type": "boolean",
      "default": false,
      "x-prompt": "Export default Puppeteer config file?"
    },
    "testingFramework": {
      "description": "",
      "type": "string",
      "enum": ["jasmine", "jest", "mocha", "node"],
      "default": "jasmine",
      "x-prompt": {
        "message": "With what Testing Library do you wish to integrate?",
        "type": "list",
        "items": [
          {
            "value": "jasmine",
            "label": "Use Jasmine [https://jasmine.github.io/]"
          },
          {
            "value": "jest",
            "label": "Use Jest [https://jestjs.io/]"
          },
          {
            "value": "mocha",
            "label": "Use Mocha [https://mochajs.org/]"
          },
          {
            "value": "node",
            "label": "Use Node Test Runner (Experimental: Node v18) [https://nodejs.org/api/test.html]"
          }
        ]
      }
    }
  },
  "required": []
}