Add integration test npm script

This commit is contained in:
Bill Thornton 2024-08-06 15:56:30 -04:00
parent 68b206fd09
commit 554c1aaa5e
2 changed files with 3 additions and 2 deletions

View File

@ -26,4 +26,4 @@ jobs:
run: npm ci --no-audit
- name: Run Vitest
run: npx vitest **/integration.test.ts
run: npm run test:integration

View File

@ -22,7 +22,8 @@
"fix-schema": "node scripts/modify-schema.mjs openapi.json",
"lint": "eslint \".\"",
"prepublishOnly": "npm run clean:build:sdk",
"test": "vitest --exclude **/integration.test.ts"
"test": "vitest --exclude **/integration.test.ts",
"test:integration": "vitest integration"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "2.13.4",