Skip to content

Commit d82091d

Browse files
authored
Making rendering more robust (#10)
- Improving specification of DevRev mock server - making server output less verbose by setting -- local which produces output more suitable for humans and AI https://app.devrev.ai/devrev/works/ISS-175258
1 parent 6fd5c46 commit d82091d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

devrev-snapin-template.plain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050

5151
- The Conformance Tests should spin a server at http://localhost:8002 for testing callbacks (The Callback Server).
5252

53-
- Worker data server runs at http://localhost:8003/external-worker and therefore there is no need to mock this server nor it receives any interesting data.
53+
- The DevRev Server runs at http://localhost:8003, so it must not be mocked.
5454

55-
- DevRev server runs at http://localhost:8003 and therefore there is no need to mock this nor it receives any interesting data.
55+
- The Worker Data Server is part of The DevRev Server and is accessible at http://localhost:8003/external-worker, so it must not be mocked.
5656

5757

5858
# The TypeScript Node.js application boilerplate

run_devrev_snapin_conformance_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ if [ "${VERBOSE:-}" -eq 1 ] 2>/dev/null; then
208208
fi
209209

210210
# Start the snap-in in the background and redirect output to a log file
211-
npm run test:server > app.log 2>&1 &
211+
npm run test:server -- local > app.log 2>&1 &
212212

213213
# Capture the process ID of the npm start command
214214
SNAP_IN_PID=$!

0 commit comments

Comments
 (0)