Skip to content

Commit

Permalink
Merge master into dependabot/npm_and_yarn/template/multi-6bc014718a
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot-eve authored Jan 20, 2025
2 parents d34c906 + 7b89286 commit 87d9939
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"description": "Custom location of the AsyncAPI file that you provided as an input in generation. By default it is located in the root of the output directory"
}
},
"generator": ">=0.50.0 <2.0.0",
"generator": ">=0.50.0 <3.0.0",
"filters": [
"@asyncapi/generator-filters"
],
Expand Down
4 changes: 3 additions & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fetch = require('node-fetch');
const console = require('console');

const MAIN_TEST_RESULT_PATH = path.join('test', 'temp', ' integrationTestResult');
const URL = 'https://raw.githubusercontent.com/asyncapi/generator/master/test/docs/ws.yml';
const URL = 'https://raw.githubusercontent.com/asyncapi/generator/master/apps/generator/test/docs/ws.yml';

describe('template integration test using generator', () => {
const generateFolderName = () => {
Expand All @@ -17,6 +17,8 @@ describe('template integration test using generator', () => {
it('should generate application files ', async () => {
const outputDir = generateFolderName();
const asyncapiFile = await fetch(URL);
if (!asyncapiFile.ok) throw new Error('Failed to fetch the AsyncAPI file');

const params = {
server: 'localhost'
};
Expand Down

0 comments on commit 87d9939

Please sign in to comment.