Skip to content

Commit

Permalink
Make some changes
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed May 9, 2024
1 parent a464932 commit 9d32ad8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ target/
packages/imperative/web-help/dist/css/bundle*
packages/imperative/web-help/dist/js/

jest-stare/
jest-stare/
jest.user.config.js
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ const projectConfig = {
]
}

let userConfig = () => {
try {
return require("./jest.user.config");
} catch (err) {
return {};
}
};

module.exports = {
...sharedConfig,
...projectConfig,
Expand Down Expand Up @@ -153,4 +161,5 @@ module.exports = {
// You may need to specify maxWorkers if you run out of RAM
// GHA should use 75% due to high ram, low core count, end user systems ~67%
"maxWorkers": process.env.GITHUB_ACTIONS != null ? "75%" : "67%",
...userConfig()
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ describe("Download Jobs - System tests", () => {

ACCOUNT = defaultSystem.tso.account;
const JOB_LENGTH = 6;
DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user.substr(0, JOB_LENGTH).toUpperCase() + "DJ";
DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substr(0, JOB_LENGTH).toUpperCase() + "DJ";
JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass;
SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff;
});

fit("should be able to download single DD from job output with encoding", async () => {
it.only("should be able to download single DD from job output with encoding", async () => {

Check failure on line 113 in packages/zosjobs/__tests__/__system__/DownloadJobs.system.test.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected focused test
const downloadDir = outputDirectory + "/downloadsingle/";
await DownloadJobs.downloadSpoolContentCommon(REAL_SESSION, {
outDir: downloadDir,
Expand Down

0 comments on commit 9d32ad8

Please sign in to comment.