Skip to content

Commit 85bfaa6

Browse files
committed
Added test snapshot update target.
1 parent 6986cfd commit 85bfaa6

File tree

12 files changed

+12
-0
lines changed

12 files changed

+12
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"scripts": {
1919
"test": "DEBUG=true npm run test --workspaces --if-present",
20+
"test-update": "DEBUG=true npm run test-update --workspaces --if-present",
2021
"build": "npm run build --workspaces --if-present",
2122
"lint": "npm run lint --workspaces --if-present",
2223
"prettier-check": "npx prettier@2 --check \"packages/**/*.ts\"",

packages/doxdox-cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
},
3838
"scripts": {
3939
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
40+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
4041
"build": "rimraf dist/ && tsc && chmod +x ./dist/src/index.js",
4142
"lint": "eslint 'src/**/*.ts'"
4243
},

packages/doxdox-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"scripts": {
2323
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
24+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
2425
"build": "rimraf dist/ && tsc",
2526
"lint": "eslint 'src/**/*.ts'"
2627
},

packages/doxdox-parser-jsdoc/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
},
3737
"scripts": {
3838
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
39+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3940
"build": "rimraf dist/ && tsc && copyfiles -u 1 src/config.json dist/",
4041
"lint": "eslint 'src/**/*.ts'"
4142
},

packages/doxdox-parser-template/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"scripts": {
3131
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
32+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3233
"build": "rimraf dist/ && tsc",
3334
"lint": "eslint 'src/**/*.ts'"
3435
},

packages/doxdox-renderer-bootstrap/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
},
3636
"scripts": {
3737
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
38+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3839
"build": "rimraf dist/ && tsc",
3940
"lint": "eslint 'src/**/*.ts'"
4041
},

packages/doxdox-renderer-dash/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
},
4242
"scripts": {
4343
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
44+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
4445
"build": "rimraf dist/ && tsc && copyfiles -u 1 src/resources/* dist/",
4546
"lint": "eslint 'src/**/*.ts'"
4647
},

packages/doxdox-renderer-github-wiki/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
},
3535
"scripts": {
3636
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
37+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3738
"build": "rimraf dist/ && tsc",
3839
"lint": "eslint 'src/**/*.ts'"
3940
},

packages/doxdox-renderer-json/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"scripts": {
3131
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
32+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3233
"build": "rimraf dist/ && tsc",
3334
"lint": "eslint 'src/**/*.ts'"
3435
},

packages/doxdox-renderer-markdown/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"scripts": {
3434
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
35+
"test-update": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3536
"build": "rimraf dist/ && tsc",
3637
"lint": "eslint 'src/**/*.ts'"
3738
},

0 commit comments

Comments
 (0)