Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4ade9f5
chore: update package dependencies and versions in package.json and p…
blueogin Feb 18, 2026
388883b
chore: update minipass version and adjust dependencies in package.jso…
blueogin Feb 19, 2026
9bd1877
chore: update postinstall script to include minipass fix script
blueogin Feb 19, 2026
37d5cb8
chore: remove minipass dependency from package.json and add fix scrip…
blueogin Feb 19, 2026
1726f15
chore: enhance blockchain test setup script with error handling and r…
blueogin Feb 19, 2026
ebf6c44
chore: improve GitHub Actions workflow and blockchain test setup with…
blueogin Feb 19, 2026
b11a3e3
chore: refine blockchain readiness check in GitHub Actions workflow f…
blueogin Feb 19, 2026
5bd6298
chore: update KMS_KEYS_TAG in GitHub Actions workflow for better envi…
blueogin Feb 19, 2026
8b42585
chore: remove @aws-sdk/client-lambda dependency from package.json
blueogin Feb 19, 2026
ca5b08d
chore: update package-lock.json to remove @aws-sdk/client-lambda and …
blueogin Feb 19, 2026
d0ecf70
chore: update dependencies in package.json and package-lock.json, add…
blueogin Feb 19, 2026
7a2af8c
chore: update KMS_KEYS_TAG in .env.test and change LOG_LEVEL to debug…
blueogin Feb 19, 2026
6891a71
chore: update KMS_KEYS_TAG to Environment=Test and change LOG_LEVEL t…
blueogin Feb 19, 2026
700b69c
chore: update MNEMONIC in .env.test and GitHub Actions workflow for c…
blueogin Feb 20, 2026
49f0865
chore: update package.json and package-lock.json to add ethereum-cryp…
blueogin Feb 20, 2026
1d1e876
fix: ensure gas value is not set below default in Web3Wallet class
blueogin Feb 20, 2026
18fe820
chore: enhance test configuration and streamline blockchain setup by …
blueogin Feb 20, 2026
8b91104
chore: add minizlib override for minipass dependency in package.json
blueogin Feb 20, 2026
4fe55b5
chore: update package-lock.json to include minipass and yallist depen…
blueogin Feb 20, 2026
8d95bca
Revert "chore: enhance test configuration and streamline blockchain s…
blueogin Feb 20, 2026
d801e7d
chore: simplify test workflow by removing redundant blockchain verifi…
blueogin Feb 20, 2026
f3522dd
refactor: remove redundant gas validation in Web3Wallet class
blueogin Feb 20, 2026
a9d748e
chore: remove unnecessary error handling in blockchain test setup script
blueogin Feb 20, 2026
ca9a036
chore: clean up jest configuration by removing commented-out code and…
blueogin Feb 20, 2026
957aa94
chore: fix formatting issue in jest configuration transformIgnorePatt…
blueogin Feb 20, 2026
150b1cc
chore: remove unused dependencies from package.json to streamline pro…
blueogin Feb 20, 2026
cca7640
chore: update package-lock.json by removing unused dependencies and u…
blueogin Feb 20, 2026
8ee9248
chore: add acorn-import-assertions dependency to package.json and pac…
blueogin Feb 20, 2026
429cfb9
chore: remove fix-minipass script and update postinstall script in pa…
blueogin Feb 20, 2026
52565c0
chore: remove fix-minipass dependency step from test workflow
blueogin Feb 20, 2026
734f7c8
Revert "chore: remove fix-minipass script and update postinstall scri…
blueogin Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ADMIN_PASS=password
AWS_REGION=us-east-1
AWS_ACCOUNT_ID=902020902029
# KMS_KEY_IDS=17527f1c-a16c-4cb5-8b38-397dd31c6f52
KMS_KEYS_TAG="Environment=test"
KMS_KEYS_TAG="Environment=Test"

# MNEMONIC="myth like bonus scare over problem client lizard pioneer submit female collect"
# MNEMONIC="test test test test test test test test test test test junk"
MNEMONIC="test test test test test test test test test test test junk"
NETWORK=dapptest
LOG_LEVEL=debug
RECAPTCHA_SECRET=
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
KMS_KEYS_TAG: "Environment=Development"
KMS_KEYS_TAG: "Environment=Test"
ADMIN_PASS: test
JWT_PASS: test
TRAVIS: true
NETWORK: dapptest
# MNEMONIC: 'myth like bonus scare over problem client lizard pioneer submit female collect'
MNEMONIC: 'test test test test test test test test test test test junk'
ADMIN_MNEMONIC: 'test test test test test test test test test test test junk'
ALCHEMY_API: ${{ secrets.ALCHEMY_API }}
AWS_SES_ACCESS_KEY: ${{ secrets.AWS_SES_ACCESS_KEY }}
Expand All @@ -78,6 +78,8 @@ jobs:
- run: npm i -g patch-package
- name: Install npm dependencies
uses: bahmutov/npm-install@v1
- name: Fix minipass dependency for minizlib
run: node scripts/fix-minipass.js
- name: prepare blockchain for blockchain related tests
if: contains(fromJson(env.BLOCKCHAIN_CHUNKS),matrix.chunk)
env:
Expand All @@ -93,12 +95,18 @@ jobs:
MNEMONIC: ${{ env.ADMIN_MNEMONIC }}
run: |
echo "using mnemonic for admin: ${MNEMONIC}"
# Verify blockchain is still running before starting tests (for blockchain chunks)
if echo "$BLOCKCHAIN_CHUNKS" | jq -e "index(${{ matrix.chunk }}) != null" > /dev/null 2>&1; then
echo "Verifying blockchain node before tests..."
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://localhost:8545 || (echo "Blockchain node not responding before tests!" && exit 1)
fi
echo $CHUNKS | jq '.[${{ matrix.chunk }}] | .[] | @text' | xargs npm run coverage
# npm run test -- src/server/send/__tests__/sendAPI.js
# npm run coverage -- --silent
# npm run coveralls
npm run build
pkill -f ganache || true
pkill -f "node.*runNode" || true

- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
Loading