Expand unit test coverage
modified: maintenance.sh modified: package-lock.json modified: package.json new file: src/screens/ActivePickListScreen.more.test.tsx new file: src/screens/ManageCategoriesScreen.additional.test.tsx new file: src/testUtils/mockDb.test.ts
This commit is contained in:
+5
-2
@@ -23,8 +23,9 @@ if [ -f package.json ]; then
|
||||
# npm ci will reconcile. We do a cheap check by comparing mtime.
|
||||
if [ -f package-lock.json ]; then
|
||||
if [ package-lock.json -nt node_modules ]; then
|
||||
echo "package-lock.json newer than node_modules; running npm ci..."
|
||||
npm ci
|
||||
echo "package-lock.json newer than node_modules; running npm install & npm prune..."
|
||||
npm install
|
||||
npm prune
|
||||
else
|
||||
echo "npm deps look current; skipping install."
|
||||
fi
|
||||
@@ -36,6 +37,8 @@ else
|
||||
echo "-> No package.json; skipping Node maintenance."
|
||||
fi
|
||||
|
||||
npx npm-check-updates -u
|
||||
|
||||
# ----------------------------
|
||||
# 2) Refresh Playwright Chromium if Playwright version changed
|
||||
# ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user