Skip to content

Commit

Permalink
Update suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushRedHat committed Jan 15, 2024
1 parent 9eeba74 commit cde77d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions test/test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"fs-extra": "9.1.0",
"jest": "25.5.0",
"rimraf": "3.0.2",
"@asyncapi/html-template":"0.16.0",
"@asyncapi/generator-filters": "^1.1.0",
"autoprefixer": "^10.2.1",
"postcss-cli": "^8.3.1",
"puppeteer": "^5.3.1",
Expand Down
6 changes: 3 additions & 3 deletions test/test-project/test-registry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Integration testing generateFromFile() to make sure the template can b
return path.resolve(mainTestResultPath, crypto.randomBytes(4).toString('hex'));
};

jest.setTimeout(6000000);
jest.setTimeout(600000);

it('generated using private registory', async () => {
const outputDir = generateFolderName();
Expand All @@ -29,8 +29,8 @@ describe('Integration testing generateFromFile() to make sure the template can b
singleFile: true
},
registry: {
url: 'http://host.docker.internal:4873', // Replace the host.docker.internal to localhost for testing without docker
auth: 'YWRtaW46bmltZGE='
url: 'http://127.0.0.1:4873',
auth: 'YWRtaW46bmltZGE=' // base64 encoded username and password represented as admin:nimda

}
});
Expand Down
2 changes: 1 addition & 1 deletion test/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ case "$1" in
test_registry
;;
*)
echo "Invalid argument. Supported arguments: test-project, test-registry"
echo "Invalid argument. Supported arguments: test-project"
exit 1
;;
esac

0 comments on commit cde77d8

Please sign in to comment.