Skip to content

Commit

Permalink
Merge pull request #7 from zowe/v2-final
Browse files Browse the repository at this point in the history
Final V2 PR
  • Loading branch information
zFernand0 authored Aug 9, 2023
2 parents 2585607 + 2426c54 commit 07455ad
Show file tree
Hide file tree
Showing 126 changed files with 1,041 additions and 405 deletions.
47 changes: 12 additions & 35 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,15 @@
## Proposed changes
**What It Does**
<!-- A list of relevant issues, enhancements, fixed bugs, etc -->

<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. -->
**How to Test**
<!-- If a bug has been fixed, how can reviewers verify that the change(s) fixed it? -->

## Release Notes
**Review Checklist**
I certify that I have:
- [ ] tested my changes
- [ ] added/updated automated tests
- [ ] updated the changelog
- [ ] followed the [contribution guidelines](https://github.com/zowe/zowe-cli/blob/master/CONTRIBUTING.md)

Milestone:
<!-- Include the Milestone Number and a small description of your change that will be added to the changelog -->
<!-- If there is a linked issue, it should have the same milestone as this PR -->

Changelog:

## Types of changes

What types of changes does your code introduce to Zowe CICS Explorer?
_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Updates to Documentation or Tests (if none of the other choices apply)

## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the reviewer_

- [ ] PR Description is included
- [ ] gif or screenshot is included if visual changes are made
- [ ] All checks have passed (DCO, Jenkins and Code Coverage)
- [ ] I have added unit test and it is passing
- [ ] There is coverage for the code that I have added
- [ ] I have tested it manually and there are no regressions found
- [ ] I have added necessary documentation (if appropriate)
- [ ] Any PR dependencies have been merged and published (if appropriate)

## Further comments

<!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->
**Additional Comments**
<!-- Anything else noteworthy about this pull request. This section is optional. -->
2 changes: 1 addition & 1 deletion .github/release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
branches: [
{
name: "master",
name: "main",
level: "minor",
devDependencies: {
"@zowe/imperative": "zowe-v2-lts",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
- uses: actions/stale@v8
with:
# General rules applied to both, issues and pull requests (PRs)
days-before-close: 14
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
/**
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/

import type { Config } from 'jest';

// Extracted from @jest/types
export declare interface ConfigGlobals {
[K: string]: unknown;
}

export function createConfig(testType: string, title: string): Config {
const isUnit = testType.toLowerCase() === "unit";
return {
maxWorkers: isUnit ? "100%" : 1,
testTimeout: 600000,
displayName: title,
modulePathIgnorePatterns: ["__tests__/__snapshots__/"],
transform: { ".(ts)": "ts-jest" },
testRegex: "(test|spec)\\.ts$",
moduleFileExtensions: ["ts", "js"],
testPathIgnorePatterns: ["<rootDir>/__tests__/__results__"],
testPathIgnorePatterns: ["<rootDir>/__tests__/__results__", `.*/__${isUnit ? "system" : "unit"}__/.*`],
testEnvironment: "node",
collectCoverage: testType.toLowerCase() === "unit",
collectCoverage: isUnit,
coverageReporters: ["json", "lcov", "text", "cobertura"],
coverageDirectory: `__tests__/__results__/${testType}/coverage`,
collectCoverageFrom: [
Expand Down
Loading

0 comments on commit 07455ad

Please sign in to comment.