Skip to content

Commit

Permalink
Merge pull request #153 from zowe/fix-system-tests
Browse files Browse the repository at this point in the history
Fix transform errors in system tests
  • Loading branch information
awharn authored Oct 17, 2024
2 parents 09e8588 + 3ff7a4e commit 7fc9898
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.jest_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export function createConfig(testType: string, title: string): Config {
displayName: title,
modulePathIgnorePatterns: ["__tests__/__snapshots__/"],
transform: { ".(ts)": "ts-jest" },
transformIgnorePatterns: [ "^.+\\.cjs$", "^.+\\.js$", "^.+\\.json$" ],
testRegex: "(test|spec)\\.ts$",
moduleFileExtensions: ["ts", "js"],
moduleFileExtensions: ["ts", "js", "json"],
testPathIgnorePatterns: ["<rootDir>/__tests__/__results__", `.*/__${isUnit ? "system" : "unit"}__/.*`],
testEnvironment: "node",
collectCoverage: isUnit,
Expand Down

0 comments on commit 7fc9898

Please sign in to comment.