Skip to content

Commit 1ee6327

Browse files
authored
chore: add only test scripts (#3355)
1 parent 42954aa commit 1ee6327

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

package-lock.json

Lines changed: 12 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"html"
5454
],
5555
"devDependencies": {
56-
"@markedjs/testutils": "12.0.0-0",
5756
"@arethetypeswrong/cli": "^0.15.3",
57+
"@markedjs/testutils": "13.0.1-0",
5858
"@rollup/plugin-terser": "^0.4.4",
5959
"@rollup/plugin-typescript": "^11.1.6",
6060
"@semantic-release/commit-analyzer": "^13.0.0",
@@ -87,9 +87,12 @@
8787
},
8888
"scripts": {
8989
"test": "npm run build && npm run test:specs && npm run test:unit",
90+
"test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
9091
"test:all": "npm test && npm run test:umd && npm run test:types && npm run test:lint",
9192
"test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
93+
"test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
9294
"test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
95+
"test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
9396
"test:lint": "eslint .",
9497
"test:redos": "node test/recheck.js > vuln.js",
9598
"test:types": "tsc --project tsconfig-type-test.json && attw -P --exclude-entrypoints ./bin/marked ./marked.min.js",

0 commit comments

Comments
 (0)