|
1 | 1 | {
|
2 | 2 | "name": "jest-environment-airtable-script",
|
3 |
| - "version": "0.0.3", |
| 3 | + "version": "0.0.4", |
4 | 4 | "description": "A jest environment for testing Airtable scripts in extensions and automations",
|
5 | 5 | "license": "Apache-2.0",
|
6 | 6 | "author": "",
|
|
33 | 33 | "build:sdk": "rollup -c rollup-sdk.config.mjs",
|
34 | 34 | "build:package": "rollup -c rollup.config.mjs",
|
35 | 35 | "jest": "JEST_AIRTABLE_TS_DEV=true jest",
|
| 36 | + "jest:ci": "JEST_AIRTABLE_TS_DEV=true jest --reporters=default --reporters=jest-junit", |
36 | 37 | "test": "run-s build:sdk jest",
|
37 |
| - "ci": "run-s lint test", |
| 38 | + "ci": "run-s lint build:sdk jest:ci", |
38 | 39 | "watch": "npm-watch test",
|
39 | 40 | "lint": "eslint ./src",
|
40 | 41 | "prepare": "husky"
|
|
60 | 61 | "eslint": "^9.17.0",
|
61 | 62 | "husky": "^9.1.7",
|
62 | 63 | "jest": "^29.7.0",
|
| 64 | + "jest-junit": "^16.0.0", |
63 | 65 | "npm-run-all": "^4.1.5",
|
64 | 66 | "npm-watch": "^0.13.0",
|
65 | 67 | "rollup": "^4.29.1",
|
|
69 | 71 | "typescript-eslint": "^8.19.0"
|
70 | 72 | },
|
71 | 73 | "dependencies": {
|
72 |
| - "camelize-ts": "^3.0.0", |
73 |
| - "detect-ts-node": "^1.0.5", |
74 | 74 | "luxon": "^3.5.0"
|
| 75 | + }, |
| 76 | + "jest-junit": { |
| 77 | + "outputDirectory": "reports", |
| 78 | + "outputName": "jest-junit.xml", |
| 79 | + "ancestorSeparator": " › ", |
| 80 | + "uniqueOutputName": "false", |
| 81 | + "suiteNameTemplate": "{filepath}", |
| 82 | + "classNameTemplate": "{classname}", |
| 83 | + "titleTemplate": "{title}" |
75 | 84 | }
|
76 | 85 | }
|
0 commit comments