From e533494bce4aec10d8fa2b44031cc54a10614a9e Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Wed, 9 Oct 2024 17:53:16 +0200 Subject: [PATCH] chore: change test commands to use new cli flag for latest generator --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 772ffa21c..9f653690c 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "lint": "echo \"No linter specified yet\"", "test:library": "jest --coverage", "test:generator": "npm run test:generator:v2 && npm run test:generator:v3", - "test:generator:v2": "asyncapi generate fromTemplate ./test/spec/asyncapi_v2.yml ./ -o test/output --force-write", - "test:generator:v3": "asyncapi generate fromTemplate ./test/spec/asyncapi_v3.yml ./ -o test/output --force-write", + "test:generator:v2": "asyncapi generate fromTemplate ./test/spec/asyncapi_v2.yml ./ -o test/output --force-write --use-new-generator", + "test:generator:v3": "asyncapi generate fromTemplate ./test/spec/asyncapi_v3.yml ./ -o test/output --force-write --use-new-generator", "develop": "npm run generate:assets && npm run test:generator:v2 -- --watch-template", "develop:install": " npm run develop -- --install", "generate:assets": "npm run copy:sources && npm run generate:readme:toc",