Skip to content

Commit

Permalink
DEV: unit test work
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Jul 3, 2024
1 parent 8625f5f commit faa0569
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"lint-fix": "eslint src --fix",
"prepare": "npm run build",
"_prepublishOnly": "npm test && npm run lint",
"test": "jest",
"test:v2": "DDB_CLIENT_VERSION=v2 jest",
"test:v3": "DDB_CLIENT_VERSION=v3 jest",
"test": "jest basic",
"test:v2": "DDB_CLIENT_VERSION=v2 jest basic",
"test:v3": "DDB_CLIENT_VERSION=v3 jest basic",
"test-cov": "jest --coverage",
"test-cov:v2": "npm run test:v2 -- --coverage",
"test-cov:v3": "npm run test:v3 -- --coverage"
Expand Down
2 changes: 1 addition & 1 deletion test/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = async () => {
await waitPort({
host: '0.0.0.0',
port: PORT,
timeout: 10000,
timeout: 20000,
})
process.env.DYNAMODB_PID = String(dynamodb.pid)
process.env.DYNAMODB_PORT = String(PORT)
Expand Down

0 comments on commit faa0569

Please sign in to comment.