Why do we need this improvement?
After the merging of this PR. We need to change the snapshot.test.js file here to include the generation of Readme.md file for both postman-echo.yml file and hopscotch-echo.yml file in two seperate folders. currenlty while running the npm test only the Readme.md file for hopscotch-echo.yml is being generated. We also have to change the snapshot test
const client = await readFile(path.join(testResultPath, testOutputFile), 'utf8');
expect(client).toMatchSnapshot();
});
to look for the README.md also.
How will this change help?
It will make the testing efficient and also easy to verify the generated Readme.md file for both asyncapi document.
Screenshots
No response
How could it be implemented/designed?
The implementation which will help in this issue is implemented in node-js template . we have to follow the given implmentation and try to use it for our use case.
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!
Why do we need this improvement?
After the merging of this PR. We need to change the snapshot.test.js file here to include the generation of Readme.md file for both postman-echo.yml file and hopscotch-echo.yml file in two seperate folders. currenlty while running the npm test only the Readme.md file for hopscotch-echo.yml is being generated. We also have to change the snapshot test
to look for the README.md also.
How will this change help?
It will make the testing efficient and also easy to verify the generated Readme.md file for both asyncapi document.
Screenshots
No response
How could it be implemented/designed?
The implementation which will help in this issue is implemented in node-js template . we have to follow the given implmentation and try to use it for our use case.
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!