Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable html and markdown template for AsyncAPI v3 #819

Merged
merged 14 commits into from
Oct 26, 2023
Prev Previous commit
Next Next commit
fix test
jonaslagoni committed Oct 9, 2023
commit 8bc7f1a8a4fa550c8cfe9aa0321eed64af7c5025
4 changes: 2 additions & 2 deletions test/integration/generate/fromTemplate.test.ts
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ describe('template', () => {
asyncapiv3,
'@asyncapi/markdown-template', '--output=./test/docs/v3/markdown-template', '--force-write'])
.it('should be able to use AsyncAPI v3 with markdown', (ctx, done) => {
expect(ctx.stdout).toContain(
expect(ctx.stdout).to.contain(
'Check out your shiny new generated files at ./test/docs/v3/markdown-template.\n\n'
);
cleanup('./test/docs/v3/markdown-template');
@@ -69,7 +69,7 @@ describe('template', () => {
asyncapiv3,
'@asyncapi/html-template', '--output=./test/docs/v3/html-template', '--force-write'])
.it('should be able to use AsyncAPI v3 with markdown', (ctx, done) => {
expect(ctx.stdout).toContain(
expect(ctx.stdout).to.contain(
'Check out your shiny new generated files at ./test/docs/v3/html-template.\n\n'
);
cleanup('./test/docs/v3/html-template');