From 8bc7f1a8a4fa550c8cfe9aa0321eed64af7c5025 Mon Sep 17 00:00:00 2001 From: "jonas-lt@live.dk" Date: Mon, 9 Oct 2023 12:02:52 +0200 Subject: [PATCH] fix test --- test/integration/generate/fromTemplate.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/generate/fromTemplate.test.ts b/test/integration/generate/fromTemplate.test.ts index 8bb079c7beb..c7243a7b424 100644 --- a/test/integration/generate/fromTemplate.test.ts +++ b/test/integration/generate/fromTemplate.test.ts @@ -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');