// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. module.exports = { globals: { "ts-jest": { "tsConfigFile": "./tsconfig.jest.json", "skipBabel": true, "enableTsDiagnostics": true } }, reporters: [ "default", ["./common/node_modules/jest-junit/index.js", { "output": "../../artifacts/logs/" + `${process.platform}` + ".signalr.junit.xml" }] ], transform: { "^.+\\.tsx?$": "./common/node_modules/ts-jest" }, testEnvironment: "node", testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", moduleNameMapper: { "^ts-jest$": "/common/node_modules/ts-jest", "^@aspnet/signalr$": "/signalr/dist/cjs/index.js" }, moduleFileExtensions: [ "ts", "tsx", "js", "jsx", "json", "node" ] };