diff --git a/test/test-project/package.json b/test/test-project/package.json index 64d477f81..8ffae277f 100644 --- a/test/test-project/package.json +++ b/test/test-project/package.json @@ -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", diff --git a/test/test-project/test-registry.test.js b/test/test-project/test-registry.test.js index ece69c181..80af37ce9 100644 --- a/test/test-project/test-registry.test.js +++ b/test/test-project/test-registry.test.js @@ -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(); @@ -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 } }); diff --git a/test/test-project/test.sh b/test/test-project/test.sh index ded87eb54..4b8a47d59 100644 --- a/test/test-project/test.sh +++ b/test/test-project/test.sh @@ -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 \ No newline at end of file