2018-12-14 20:27:57 +03:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
module.exports = {
|
2020-12-10 20:25:34 +03:00
|
|
|
projects: [
|
|
|
|
{
|
|
|
|
displayName: "jsdom",
|
|
|
|
transform: {
|
|
|
|
"^.+\\.ts$": "ts-jest",
|
|
|
|
},
|
|
|
|
testRegex: "tests/.*Tests\\.ts$",
|
2023-09-19 19:45:34 +03:00
|
|
|
testPathIgnorePatterns: ["/lib/", "/node_modules/", "/src/"],
|
2020-12-10 20:25:34 +03:00
|
|
|
moduleFileExtensions: ["ts", "js", "jsx", "json", "node"],
|
|
|
|
testEnvironment: "jsdom",
|
|
|
|
collectCoverage: false,
|
|
|
|
setupFilesAfterEnv: ["./secrets/TestConfiguration.ts"],
|
|
|
|
testTimeout : 20000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: "node",
|
|
|
|
transform: {
|
|
|
|
"^.+\\.ts$": "ts-jest",
|
|
|
|
},
|
|
|
|
testRegex: "tests/.*Tests\\.ts$",
|
2023-09-19 19:45:34 +03:00
|
|
|
testPathIgnorePatterns: ["/lib/", "/node_modules/", "/src/"],
|
2020-12-10 20:25:34 +03:00
|
|
|
moduleFileExtensions: ["ts", "js", "jsx", "json", "node"],
|
|
|
|
testEnvironment: "node",
|
|
|
|
collectCoverage: false,
|
|
|
|
setupFilesAfterEnv: ["./secrets/TestConfiguration.ts"],
|
|
|
|
testTimeout : 30000
|
|
|
|
}
|
2020-12-12 11:18:08 +03:00
|
|
|
],
|
|
|
|
reporters: [ "default", "jest-junit" ],
|
2022-07-29 01:37:58 +03:00
|
|
|
testEnvironment: "node"
|
2018-12-14 20:27:57 +03:00
|
|
|
};
|