Skip to content

Commit

Permalink
test(aws-restjson-*): run tests using vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Nov 5, 2024
1 parent 6b52bed commit 319acb8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 18 deletions.
5 changes: 0 additions & 5 deletions private/aws-restjson-server/jest.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion private/aws-restjson-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
"prepack": "yarn run clean && yarn run build",
"test": "jest"
"test": "vitest run"
},
"main": "./dist-cjs/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
5 changes: 0 additions & 5 deletions private/aws-restjson-validation-server/jest.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion private/aws-restjson-validation-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
"prepack": "yarn run clean && yarn run build",
"test": "jest"
"test": "vitest run"
},
"main": "./dist-cjs/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
7 changes: 1 addition & 6 deletions vitest.config.protocols.integ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
exclude: [
"**/*/node_modules/**/*.spec.ts",
"**/*.{integ,e2e,browser}.spec.ts",
"private/aws-restjson-server/**/*.spec.ts",
"private/aws-restjson-validation-server/**/*.spec.ts",
],
exclude: ["**/*/node_modules/**/*.spec.ts", "**/*.{integ,e2e,browser}.spec.ts"],
include: ["private/**/*.spec.ts"],
environment: "node",
globals: true,
Expand Down

0 comments on commit 319acb8

Please sign in to comment.