diff --git a/README.md b/README.md index 95326d643..dffded085 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,10 @@ To verify the code is correct and up to our coding standards. These tests will a will run all the tests. If you want to run only the banner integration tests, run npm run test:banners + +or + + npm run test:all-banners To run all the code checks (CSS style, TypeScript type checks, TypeScript code style and best practices) run diff --git a/package.json b/package.json index fa72eb8d6..751c4cbc3 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,12 @@ "scripts": { "test": "npm run test:all", "test:all": "vitest --run --config vitest.campaign.config.mjs", - "test:banners": "vitest --run --config vitest.campaign.config.mjs test/banners", + "test:banners": "npm run test:current-banners", + "test:current-banners": "vitest --run --config vitest.campaign.config.mjs test/banners", + "test:all-banners": "vitest --run test/banners", "test:components": "vitest --run --config vitest.campaign.config.mjs test/components", "test:integration": "vitest --run --config vitest.campaign.config.mjs test/integration", "test:unit": "vitest --run --config vitest.campaign.config.mjs test/unit", - "test:all-banners": "vitest --run test/banners", "watch": "webpack --watch", "build": "npm-run-all -s check-content-version clean build:banners", "build:banners": "webpack --config webpack.production.js",