Skip to content

Commit b462d3b

Browse files
Added a shortcut to run the test quickly
1 parent 6dfb229 commit b462d3b

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Launch node via yarn & 'start' command",
8+
"cwd": "${workspaceFolder}",
9+
"runtimeExecutable": "node",
10+
"runtimeArgs": [
11+
"test"
12+
]
13+
}
14+
]
15+
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"author": "Ulyanov Ivan",
55
"description": "The library for converting CSS to HTML",
66
"main": "index.js",
7-
"scripts": {},
7+
"scripts": {
8+
"test": "node test.js"
9+
},
810
"type": "module",
911
"repository": {
1012
"type": "git",
@@ -31,4 +33,4 @@
3133
"html-format": "^1.1.7"
3234
},
3335
"license": "ISC"
34-
}
36+
}

0 commit comments

Comments
 (0)