Skip to content

Commit 952cfda

Browse files
committed
fix(client-transcribe-streaming): use ts-jest
1 parent 5ec7af6 commit 952cfda

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
const base = require("../../jest.config.base.js");
2-
31
module.exports = {
4-
...base,
5-
// Only test cjs dist, avoid testing the package twice
6-
testPathIgnorePatterns: ["/node_modules/", "/es/", ".*.integ.spec.js"],
7-
coveragePathIgnorePatterns: [
8-
"/node_modules/",
9-
"/commands/",
10-
"/protocols/", // protocols tested in protocol protocol_tests folder
11-
"endpoints", // endpoint tested in tests/functional/endpoints
12-
],
2+
preset: "ts-jest",
3+
testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
134
};
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
const base = require("../../jest.config.base.js");
2-
31
module.exports = {
4-
...base,
2+
preset: "ts-jest",
53
testMatch: ["**/*.integ.spec.ts"],
64
};

0 commit comments

Comments
 (0)