Skip to content

Commit 08f1de3

Browse files
Added configuration to run only specific tests.
1 parent 3bf5284 commit 08f1de3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: .vscode/launch.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "Launch tests via NPM",
5+
"name": "Run only the marked tests via terminal",
66
"type": "node-terminal",
7-
"command": "npm test",
7+
"command": "npm run test-only",
88
"request": "launch"
99
}
1010
]

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"description": "The library for converting CSS to HTML",
66
"main": "index.js",
77
"scripts": {
8-
"test": "node --test --watch"
8+
"test": "node --test --watch",
9+
"test-only": "node --test --watch --test-only"
910
},
1011
"type": "module",
1112
"repository": {

0 commit comments

Comments
 (0)