Skip to content

Commit

Permalink
chore: update test following updates to generator repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 20, 2025
1 parent 5b2d48e commit 4eeabbb
Showing 1 changed file with 3 additions and 1 deletion.
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 4eeabbb

Please sign in to comment.