Skip to content

Commit f1a2f50

Browse files
committed
update test script
1 parent e0955b9 commit f1a2f50

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"scripts": {
88
"compile": "tsc",
99
"build": "yarn run clean && yarn run compile",
10-
"test": "yarn --cwd test install && yarn --cwd test jest",
10+
"test": "yarn --cwd test test",
1111
"release": "standard-version",
1212
"--------------": "",
1313
"format": "prettier --write .",
1414
"clean": "npx -y rimraf -g dist **/*.tsbuildinfo ./test/projects/nx/dist",
1515
"clean:all": "yarn run clean && npx -y rimraf -g node_modules **/node_modules **/yarn.lock yarn.lock",
1616
"reset": "yarn run clean:all && yarn install && yarn build",
1717
"-------------- ": "",
18+
"pretest": "yarn --cwd test install",
1819
"prebuild": "npx -y rimraf -g dist"
1920
},
2021
"keywords": [

test/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"private": true,
33
"license": "MIT",
44
"scripts": {
5+
"test": "NODE_OPTIONS=--max_old_space_size=4096 jest",
56
"prepare": "node prepare.js"
67
},
78
"devDependencies": {

0 commit comments

Comments
 (0)