Skip to content

Commit ca51da3

Browse files
chore: move script call into vertex prepare
1 parent 3e07cd8 commit ca51da3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"tsc:compile": "tsc --project .",
2020
"lint:all": "yarn lint && yarn lint:markdown && yarn lint:spellcheck && yarn tsc:compile",
2121
"tests:vertex:mocks": "./scripts/vertex_mock_responses.sh && yarn ts-node ./packages/vertexai/__tests__/test-utils/convert-mocks.ts",
22-
"tests:jest": "yarn tests:vertex:mocks && jest",
23-
"tests:jest-watch": "tests:vertex:mocks && jest --watch",
24-
"tests:jest-coverage": "tests:vertex:mocks && jest --coverage",
22+
"tests:jest": "jest",
23+
"tests:jest-watch": "jest --watch",
24+
"tests:jest-coverage": "jest --coverage",
2525
"tests:packager:chrome": "cd tests && yarn react-native start --reset-cache",
2626
"tests:packager:jet": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" yarn react-native start",
2727
"tests:packager:jet-ci": "cd tests && (mkdir $HOME/.metro || true) && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" yarn react-native start",

packages/vertexai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "genversion --esm --semi lib/version.ts",
1010
"build:clean": "rimraf android/build && rimraf ios/build",
11-
"prepare": "yarn run build && bob build"
11+
"prepare": "yarn run build && bob build && yarn tests:vertex:mocks"
1212
},
1313
"repository": {
1414
"type": "git",

0 commit comments

Comments
 (0)