Skip to content

Commit 883fbd3

Browse files
committed
setup testing with jest
1 parent d3a5401 commit 883fbd3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tsconfig.json
1212
syxconfig.json
1313
distDeletor.js
1414
*.tgz
15+
*.test.js
1516

1617
# Hidden folders
1718
/.vscode

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build": "tsc",
1010
"postbuild": "cls && echo Builded",
1111
"prepublish": "npm run build",
12-
"postpublish": "npm pack --pack-destination=./package"
12+
"postpublish": "npm pack --pack-destination=./package",
13+
"test": "jest"
1314
},
1415
"keywords": [
1516
"syntax",
@@ -28,6 +29,7 @@
2829
"@typescript-eslint/parser": "^7.7.0",
2930
"eslint": "^8.57.0",
3031
"eslint-plugin-jsdoc": "^48.2.3",
32+
"jest": "^29.7.0",
3133
"lsp-types": "^3.17.0-f3"
3234
},
3335
"dependencies": {

0 commit comments

Comments
 (0)