diff --git a/.github/workflows/test-types.yml b/.github/workflows/test-types.yml index d54149a37..8a5825240 100644 --- a/.github/workflows/test-types.yml +++ b/.github/workflows/test-types.yml @@ -1,4 +1,4 @@ -name: Test (types) +name: Tests (types) on: pull_request: @@ -25,5 +25,6 @@ jobs: - name: Install dependencies run: | npm ci --ignore-scripts - - name: Check typings - run: npm run test:types + - name: Type tests + run: | + npm run test:types diff --git a/package-lock.json b/package-lock.json index f0aba3729..d2ea3ed87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "@biomejs/biome": "^2.0.0", "@commitlint/cli": "^20.0.0", "@commitlint/config-conventional": "^20.0.0", - "@tsconfig/node22": "^22.0.0", "aws-sdk-client-mock": "^4.0.0", "fast-check": "^4.0.0", "husky": "^9.0.0", @@ -5118,13 +5117,6 @@ "vite": "^6.3.0 || ^7.0.0" } }, - "node_modules/@tsconfig/node22": { - "version": "22.0.5", - "resolved": "https://registry.npmjs.org/@tsconfig/node22/-/node22-22.0.5.tgz", - "integrity": "sha512-hLf2ld+sYN/BtOJjHUWOk568dvjFQkHnLNa6zce25GIH+vxKfvTgm3qpaH6ToF5tu/NN0IH66s+Bb5wElHrLcw==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/aws-lambda": { "version": "8.10.161", "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.161.tgz", diff --git a/package.json b/package.json index e8ded8116..d6c0452c1 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,6 @@ "@biomejs/biome": "^2.0.0", "@commitlint/cli": "^20.0.0", "@commitlint/config-conventional": "^20.0.0", - "@tsconfig/node22": "^22.0.0", "aws-sdk-client-mock": "^4.0.0", "fast-check": "^4.0.0", "husky": "^9.0.0", diff --git a/packages/http-content-encoding/index.tst.ts b/packages/http-content-encoding/index.tst.ts index 295e54a60..3f8fbc993 100644 --- a/packages/http-content-encoding/index.tst.ts +++ b/packages/http-content-encoding/index.tst.ts @@ -1,3 +1,5 @@ +/// + import type middy from "@middy/core"; import { expect, test } from "tstyche"; import httpContentEncodingMiddleware from "./index.js"; diff --git a/packages/util/index.tst.ts b/packages/util/index.tst.ts index 5086702b1..1ac48fdda 100644 --- a/packages/util/index.tst.ts +++ b/packages/util/index.tst.ts @@ -349,5 +349,5 @@ test("lambdaContext", () => { test("httpErrorCodes", () => { expect(util.httpErrorCodes).type.toBe>(); - expect(util.httpErrorCodes[404]).type.toBe(); + expect(util.httpErrorCodes[404]).type.toBe(); }); diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 406666fbf..000000000 --- a/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "@tsconfig/node22" -} diff --git a/tstyche.config.json b/tstyche.config.json deleted file mode 100644 index cc2286f3c..000000000 --- a/tstyche.config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://tstyche.org/schemas/config.json", - "testFileMatch": ["packages/*/*.tst.ts"] -}