-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1830 from zowe/remove-perf-timing-v2
Perform the actions required to remove perf-timing on v2
- Loading branch information
Showing
27 changed files
with
13,943 additions
and
5,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# environmental variable settings for integration tests | ||
|
||
FORCE_COLOR=1 | ||
JEST_JUNIT_OUTPUT_DIR=__tests__/__results__/integration | ||
JEST_JUNIT_OUTPUT_NAME=junit-imperative.xml | ||
JEST_SUITE_NAME="Integration Tests" | ||
JEST_JUNIT_ANCESTOR_SEPARATOR=" > " | ||
JEST_JUNIT_CLASSNAME="Integration.{classname}" | ||
JEST_JUNIT_TITLE="{title}" | ||
JEST_STARE_RESULT_DIR=__tests__/__results__/integration/jest-stare | ||
JEST_STARE_RESULT_HTML=index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
const sharedConfig = { | ||
"globalTeardown": "<rootDir>/__tests__/teardown.js", | ||
"watchPathIgnorePatterns": [ | ||
".*jest-stare.*\\.js" | ||
], | ||
"modulePathIgnorePatterns": [ | ||
"__tests__/__snapshots__/", | ||
".*/node_modules/.*", | ||
".*/lib/.*" | ||
], | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/__tests__/beforeTests.js" | ||
], | ||
"transformIgnorePatterns": [ "^.+\\.js$", "^.+\\.json$" ], | ||
"snapshotFormat": { | ||
"escapeString": true, | ||
"printBasicPrototype": true | ||
}, | ||
"workerIdleMemoryLimit": "2GB", | ||
"transform": { | ||
"\\.ts$": ["ts-jest", { "disableSourceMapSupport": true }] | ||
}, | ||
"testRegex": "__tests__.*\\.(spec|test)\\.ts$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
], | ||
"testEnvironment": "node", | ||
"testPathIgnorePatterns": [ | ||
"node_modules" | ||
] | ||
} | ||
|
||
const projectConfig = { | ||
"projects": [ | ||
{ | ||
"displayName": "Global Tests", | ||
...sharedConfig, | ||
"roots": ["__tests__", "mocks"], | ||
}, | ||
{ | ||
"displayName": "Zowe CLI", | ||
...sharedConfig, | ||
"roots": ["packages/cli", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!cli)"] | ||
}, | ||
{ | ||
"displayName": "Imperative", | ||
...sharedConfig, | ||
"roots": ["packages/imperative", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!imperative)"] | ||
}, | ||
{ | ||
"displayName": "Core SDK", | ||
...sharedConfig, | ||
"roots": ["packages/core", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!core)"] | ||
}, | ||
{ | ||
"displayName": "Provisioning SDK", | ||
...sharedConfig, | ||
"roots": ["packages/provisioning", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!provisioning)"] | ||
}, | ||
{ | ||
"displayName": "Secrets SDK", | ||
...sharedConfig, | ||
"roots": ["packages/secrets", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!secrets)"] | ||
}, | ||
{ | ||
"displayName": "Workflows SDK", | ||
...sharedConfig, | ||
"roots": ["packages/workflows", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!workflows)"] | ||
}, | ||
{ | ||
"displayName": "z/OS Console SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zosconsole", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zosconsole)"] | ||
}, | ||
{ | ||
"displayName": "z/OS Files SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zosfiles", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zosfiles)"] | ||
}, | ||
{ | ||
"displayName": "z/OS Jobs SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zosjobs", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zosjobs)"] | ||
}, | ||
{ | ||
"displayName": "z/OS Logs SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zoslogs", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zoslogs)"] | ||
}, | ||
{ | ||
"displayName": "z/OSMF SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zosmf", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zosmf)"] | ||
}, | ||
{ | ||
"displayName": "z/OS TSO SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zostso", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zostso)"] | ||
}, | ||
{ | ||
"displayName": "z/OS USS SDK", | ||
...sharedConfig, | ||
"roots": ["packages/zosuss", "mocks"], | ||
"coveragePathIgnorePatterns": ["packages/(?!zosuss)"] | ||
} | ||
] | ||
} | ||
|
||
module.exports = { | ||
...sharedConfig, | ||
...projectConfig, | ||
"reporters": [ | ||
"default", | ||
["jest-junit", { | ||
"outputDirectory": "__tests__/__results__", | ||
"reportTestSuiteErrors": true | ||
}], | ||
["jest-stare", { | ||
"resultDir": "__tests__/__results__/jest-stare", | ||
"coverageLink": "../unit/coverage/lcov-report/index.html" | ||
}], | ||
["github-actions", { "silent": false } ] | ||
], | ||
"coverageReporters": [ | ||
"json", | ||
"lcov", | ||
"text", | ||
"cobertura" | ||
], | ||
"coverageDirectory": "__tests__/__results__/unit/coverage", | ||
"collectCoverageFrom": [ | ||
"packages/**/*.ts", | ||
"!**/packages/imperative/web-help/**/*.ts", | ||
"!**/packages/**/__tests__/**/*.ts", | ||
"__tests__/__packages__/*.ts", | ||
"!**/node_modules/**", | ||
"!**/lib/**" | ||
], | ||
"maxWorkers": "67%", // You may need to specify maxWorkers if you run out of RAM | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.