Skip to content

Commit e909261

Browse files
committed
fix: disable jest tests in client-s3 and client-cognito-identity
Currently mocha is used in these clients. We need to come up with cross platform testing infrastructure story for clients in future.
1 parent 952cfda commit e909261

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module.exports = {
22
preset: "ts-jest",
3-
testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
3+
// filedoesnotexist.spec.ts is added to avoid jest error "Your test suite must contain at least one test."
4+
// replace it with **/*.spec.ts once we have a decision on test infrastructure for clients.
5+
testMatch: ["filedoesnotexist.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
46
};

clients/client-s3/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module.exports = {
22
preset: "ts-jest",
3-
testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
3+
// filedoesnotexist.spec.ts is added to avoid jest error "Your test suite must contain at least one test."
4+
// replace it with **/*.spec.ts once we have a decision on test infrastructure for clients.
5+
testMatch: ["filedoesnotexist.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
46
};

0 commit comments

Comments
 (0)