Skip to content

Commit

Permalink
void test
Browse files Browse the repository at this point in the history
  • Loading branch information
avkos committed Mar 4, 2024
1 parent 0e59f28 commit 22d7d52
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"test:coverage:unit": "lerna run test:coverage:unit --stream --parallel",
"test:coverage:integration": "lerna run test:coverage:integration --stream --parallel",
"test:unit": "lerna run test:unit --stream --parallel && jest --config=./scripts/jest.config.js",
"test:integration": "lerna run test:integration --stream",
"test:integration": "cd packages/web3-validator && yarn test:integration",
"test:integration2": "lerna run test:integration --stream",
"test:benchmark": "lerna run test:benchmark",
"test:integration:stress": "lerna run test:integration:stress --stream",
"test:e2e:geth:http": "./scripts/test-runner.sh geth http",
Expand Down
22 changes: 22 additions & 0 deletions packages/web3-validator/test/integration/void.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
This file is part of web3.js.
web3.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
web3.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

describe('Web3 validator test', () => {
it('void', () => {
expect(1).toBe(1);
});
});

1 comment on commit 22d7d52

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 22d7d52 Previous: 6c075db Ratio
processingTx 9237 ops/sec (±4.43%) 9301 ops/sec (±4.81%) 1.01
processingContractDeploy 41251 ops/sec (±7.57%) 39129 ops/sec (±7.62%) 0.95
processingContractMethodSend 19548 ops/sec (±6.66%) 19443 ops/sec (±5.19%) 0.99
processingContractMethodCall 40252 ops/sec (±5.07%) 38971 ops/sec (±6.34%) 0.97
abiEncode 45551 ops/sec (±6.40%) 44252 ops/sec (±6.92%) 0.97
abiDecode 31943 ops/sec (±7.13%) 30419 ops/sec (±8.89%) 0.95
sign 1656 ops/sec (±0.99%) 1656 ops/sec (±4.08%) 1
verify 369 ops/sec (±2.83%) 373 ops/sec (±0.78%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.