Skip to content

Commit 56be448

Browse files
russellwheatleymikehardy
authored andcommitted
test: rename scripts and location to "ai"
1 parent 5fa5302 commit 56be448

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
1919
"tsc:compile": "tsc --project .",
2020
"lint:all": "yarn lint && yarn lint:markdown && yarn lint:spellcheck && yarn tsc:compile",
21-
"tests:vertex:mocks": "./scripts/vertex_mock_responses.sh && yarn ts-node ./packages/vertexai/__tests__/test-utils/convert-mocks.ts",
21+
"tests:ai:mocks": "./scripts/ai_mock_responses.sh && yarn ts-node ./packages/ai/__tests__/test-utils/convert-mocks.ts",
2222
"tests:jest": "jest",
2323
"tests:jest-watch": "jest --watch",
2424
"tests:jest-coverage": "jest --coverage",

scripts/vertex_mock_responses.sh renamed to scripts/ai_mock_responses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ tail -n1)
2929
# Define the directory name using REPO_NAME and LATEST_TAG.
3030
CLONE_DIR="${REPO_NAME}_${LATEST_TAG//./_}"
3131

32-
cd "$(dirname "$0")/../packages/vertexai/__tests__/test-utils" || exit
32+
cd "$(dirname "$0")/../packages/ai/__tests__/test-utils" || exit
3333

3434
# Remove any directories that start with REPO_NAME but are not CLONE_DIR
3535
for dir in "${REPO_NAME}"*; do

0 commit comments

Comments
 (0)