|
13 | 13 | "lint:lockfile": "lockfile-lint --path package-lock.json --type npm --validate-https --allowed-hosts npm", |
14 | 14 | "lint:engines": "check-engine", |
15 | 15 | "lint:peer": "npm ls >/dev/null", |
16 | | - "test:unit": "jest 'test/unit/'", |
| 16 | + "test:unit": "jest --roots=lib --roots=test/unit", |
| 17 | + "test:unit:ci": "npm run test:unit --reporters=default --reporters=github-actions", |
17 | 18 | "test:me": "jest ", |
18 | 19 | "test:unit:watch": "npm run test:unit -- --watch", |
19 | | - "test:integration": "jest 'test/integration/'", |
| 20 | + "test:integration": "jest --roots=lib --roots=test/integration", |
20 | 21 | "test:integration:debug": "LOG_LEVEL=debug DEBUG=nock run-s test:integration" |
21 | 22 | }, |
22 | 23 | "author": "Yadhav Jayaraman", |
|
27 | 28 | "eta": "^3.0.3", |
28 | 29 | "js-yaml": "^4.1.0", |
29 | 30 | "node-cron": "^3.0.2", |
30 | | - "probot": "^12.3.3", |
31 | | - "octokit": "^3.1.2" |
| 31 | + "octokit": "^3.1.2", |
| 32 | + "probot": "^12.3.3" |
32 | 33 | }, |
33 | 34 | "devDependencies": { |
| 35 | + "@eslint/eslintrc": "^2.0.2", |
34 | 36 | "@travi/any": "^2.1.8", |
35 | 37 | "check-engine": "^1.10.1", |
36 | 38 | "eslint": "^8.46.0", |
37 | | - "@eslint/eslintrc": "^2.0.2", |
38 | 39 | "eslint-config-standard": "^17.0.0", |
39 | 40 | "eslint-plugin-import": "^2.27.5", |
40 | 41 | "eslint-plugin-node": "^11.1.0", |
41 | 42 | "eslint-plugin-promise": "^6.0.1", |
42 | 43 | "http-status-codes": "^2.2.0", |
43 | 44 | "jest": "^29.5.0", |
| 45 | + "jest-junit": "^16.0.0", |
44 | 46 | "jest-when": "^3.5.2", |
45 | 47 | "lockfile-lint": "^4.11.0", |
46 | 48 | "nock": "^13.2.9", |
|
58 | 60 | "node": ">= 16.0.0" |
59 | 61 | }, |
60 | 62 | "jest": { |
61 | | - "testEnvironment": "node" |
| 63 | + "testEnvironment": "node", |
| 64 | + "reporters": [ |
| 65 | + "default", |
| 66 | + "jest-junit" |
| 67 | + ] |
| 68 | + }, |
| 69 | + "jest-junit": { |
| 70 | + "suiteName": "jest tests", |
| 71 | + "outputDirectory": "reports", |
| 72 | + "outputName": "jest-junit.xml", |
| 73 | + "uniqueOutputName": "false", |
| 74 | + "classNameTemplate": "{classname}-{title}", |
| 75 | + "titleTemplate": "{classname}-{title}", |
| 76 | + "ancestorSeparator": " › ", |
| 77 | + "usePathForSuiteName": "true" |
62 | 78 | }, |
63 | 79 | "nodemonConfig": { |
64 | 80 | "exec": "npm start", |
|
0 commit comments