Skip to content

Commit 07cbb12

Browse files
committed
test: private tests to vitest
1 parent e6c8cc6 commit 07cbb12

File tree

58 files changed

+890
-980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+890
-980
lines changed

private/aws-client-api-test/jest.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

private/aws-client-api-test/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build:types": "tsc -p tsconfig.types.json",
1111
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1212
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13-
"test": "jest --coverage --passWithNoTests"
13+
"test": "vitest run --passWithNoTests",
14+
"test:watch": "vitest watch --passWithNot"
1415
},
1516
"main": "./dist-cjs/index.js",
1617
"types": "./dist-types/index.d.ts",

private/aws-client-api-test/src/client-interface-tests/client-s3/ClientS3InterfaceTest.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { test as it, describe, expect } from "vitest";
2+
13
import { ClientS3InterfaceTest } from "./ClientS3InterfaceTest";
24
import { RESOLVED_FIELDS } from "./RESOLVED_FIELDS";
35

private/aws-client-retry-test/jest.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

private/aws-client-retry-test/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build:types": "tsc -p tsconfig.types.json",
1111
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1212
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13-
"test": "jest --coverage --passWithNoTests"
13+
"test": "vitest run --passWithNoTests",
14+
"test:watch": "vitest watch --passWithNot"
1415
},
1516
"main": "./dist-cjs/index.js",
1617
"types": "./dist-types/index.d.ts",

private/aws-client-retry-test/src/ClientRetryTest.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { test as it, describe, expect } from "vitest";
2+
13
import { HeadObjectCommand, S3, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
24
import { HttpHandler, HttpResponse } from "@smithy/protocol-http";
35
import { AwsCredentialIdentity, RequestHandlerOutput } from "@smithy/types";

private/aws-echo-service/jest.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

private/aws-echo-service/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build:types": "tsc -p tsconfig.types.json",
1111
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1212
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13-
"test": "jest --coverage --passWithNoTests"
13+
"test": "vitest run --passWithNoTests",
14+
"test:watch": "vitest watch --passWithNot"
1415
},
1516
"main": "./dist-cjs/index.js",
1617
"types": "./dist-types/index.d.ts",

private/aws-protocoltests-ec2/README.md

Lines changed: 1 addition & 1 deletion

private/aws-protocoltests-ec2/jest.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)