Skip to content

Commit

Permalink
Merge pull request #660 from wmde/rename-npm-command
Browse files Browse the repository at this point in the history
Make name of test command more explicit
  • Loading branch information
moiikana authored Dec 12, 2024
2 parents a635b8c + eb34c55 commit f83d41a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f83d41a

Please sign in to comment.