azure-kusto-node/jest.config.ts

33 строки
766 B
TypeScript

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { Config } from "jest";
import type { JestConfigWithTsJest } from "ts-jest";
const baseConfig: Config = {
preset: "ts-jest",
testEnvironment: "node",
prettierPath: "prettier",
maxWorkers: 200,
testMatch: ["**/test/**/*Test.ts"],
};
const config: JestConfigWithTsJest = {
testTimeout: 240000,
maxConcurrency: 200,
projects: [
{
displayName: "azure-kusto-data",
rootDir: "packages/azure-kusto-data",
...baseConfig,
},
{
displayName: "azure-kusto-ingest",
rootDir: "packages/azure-kusto-ingest",
...baseConfig,
},
],
};
export default config;