Skip to content

Commit 2dbfb47

Browse files
authored
[Text Analytics] Fix a compiler option in perf test (Azure#14090)
Otherwise, ts-node will fail. I also set the default number of documents to 1k.
1 parent 0c3f4d1 commit 2dbfb47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/textanalytics/perf-tests/text-analytics/test/detectLanguage.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class DetectLanguageTest extends PerfStressTest<DetectLanguagePerfTestOpt
2424
description: "Number of documents",
2525
shortName: "n",
2626
longName: "docs-count",
27-
defaultValue: 10
27+
defaultValue: 1000
2828
}
2929
};
3030
client: TextAnalyticsClient;

sdk/textanalytics/perf-tests/text-analytics/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../../../tsconfig.package",
33
"compilerOptions": {
4+
"module": "CommonJS",
45
"target": "ES2015",
56
"declarationDir": "./typings/latest",
67
"lib": ["ES6", "ESNext.AsyncIterable", "DOM"],

0 commit comments

Comments
 (0)