From 8c847bf75163109c49ce4155a9481319e4fcacf9 Mon Sep 17 00:00:00 2001 From: MD SADAB SAQIB Date: Sun, 10 Mar 2024 00:22:30 +1100 Subject: [PATCH] removed chal type def and fixed yml file steps --- .github/workflows/api.yml | 13 +++++-------- package-lock.json | 20 -------------------- package.json | 3 +-- 3 files changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 966c700..a20ef5e 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -7,6 +7,7 @@ on: branches: [ "main" ] jobs: + supertest: runs-on: ubuntu-latest @@ -25,13 +26,9 @@ jobs: - name: tes using supertest run: | npm install - npm test:super - - - name: tes using pactum - run: | - npm install - npm test:pactum + npm run test:super + axios: runs-on: ubuntu-latest @@ -50,7 +47,7 @@ jobs: - name: tes using axios run: | npm install - npm test:axios + npm run test:axios pactum: runs-on: ubuntu-latest @@ -70,4 +67,4 @@ jobs: - name: tes using pactum run: | npm install - npm test:pactum \ No newline at end of file + npm run test:pactum \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 903444d..907f417 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "devDependencies": { "@faker-js/faker": "^8.0.2", "@types/chai": "^4.3.5", - "@types/chalk": "^2.2.0", "@types/mocha": "^10.0.1", "@types/mochawesome": "^6.2.1", "@types/prettyjson": "^0.0.30", @@ -313,16 +312,6 @@ "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==", "dev": true }, - "node_modules/@types/chalk": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-2.2.0.tgz", - "integrity": "sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw==", - "deprecated": "This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!", - "dev": true, - "dependencies": { - "chalk": "*" - } - }, "node_modules/@types/cookiejar": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.2.tgz", @@ -3464,15 +3453,6 @@ "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==", "dev": true }, - "@types/chalk": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-2.2.0.tgz", - "integrity": "sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw==", - "dev": true, - "requires": { - "chalk": "*" - } - }, "@types/cookiejar": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.2.tgz", diff --git a/package.json b/package.json index afaaa9a..ffd0a2e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "devDependencies": { "@faker-js/faker": "^8.0.2", "@types/chai": "^4.3.5", - "@types/chalk": "^2.2.0", "@types/mocha": "^10.0.1", "@types/mochawesome": "^6.2.1", "@types/prettyjson": "^0.0.30", @@ -37,4 +36,4 @@ "ts-node": "^10.9.1", "typescript": "^5.1.3" } -} \ No newline at end of file +}