Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Oct 9, 2023
1 parent 6dee0d4 commit 8bc7f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/generate/fromTemplate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 8bc7f1a

Please sign in to comment.