Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Sep 26, 2024
1 parent 52ad5b2 commit c8cabcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
34 changes: 2 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,20 @@
{
"name": "hub-load-test",
"version": "1.0.0",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test:sepolia:smoke": "env TEST_ENV='sepolia' mocha -r ts-node/register -r mocha-steps --grep '\\[smoke\\]' './test/**/**/*.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"test:story:smoke": "env TEST_ENV='storyTestnet' mocha -r ts-node/register -r mocha-steps --grep '\\[smoke\\]' './test/**/**/*.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"test:sepolia:e2e": "env TEST_ENV='sepolia' mocha -r ts-node/register -r mocha-steps './test/**/e2e/*.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"test:story:e2e": "env TEST_ENV='storyTestnet' mocha -r ts-node/register -r mocha-steps './test/**/e2e/*.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"test:sepolia": "env TEST_ENV='sepolia' mocha -r ts-node/register -r mocha-steps './test/**/**/**.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"test:story": "env TEST_ENV='storyTestnet' mocha -r ts-node/register -r mocha-steps './test/**/**/mintAndRegisterIpAssetWithPilTerms.test.ts' --timeout 240000 --reporter mochawesome --reporter-options reportDir='test-reports',reportFilename='[status]_[datetime]_sdk-test-report',timestamp='mm-dd-yyyy_HHMMss',reportTitle='SDK Test Report'",
"open:report": "open test-reports/*.html",
"test:sepolia:open:report": "rm -rf test-reports && npm run test:sepolia && npm run open:report"
},
"repository": {
"type": "git",
"url": "https://github.com/storyprotocol/sdk-e2e-tests.git"
},
"scripts": {},
"dependencies": {
"@story-protocol/core-sdk": "1.0.0-rc.22",
"viem": "^2.8.12",
"ethers": "^6.13.0"
},
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/bip39": "^3.0.0",
"@types/chai": "^4.3.12",
"@types/chai-as-promised": "^7.1.6",
"@types/hdkey": "^2.0.3",
"@types/mocha": "^10.0.2",
"@types/mocha-steps": "^1.3.3",
"@types/mochawesome": "^6.2.4",
"@types/node": "^20.8.2",
"@types/sinon": "^10.0.18",
"bip39": "^3.1.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"eslint": "^8.50.0",
"hdkey": "^2.1.0",
"mocha": "^10.2.0",
"mocha-steps": "^1.3.0",
"mochawesome": "^7.1.3",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"ts-node": "^10.9.2",
"typechain": "^8.3.1",
"typescript": "^5.4.2"
}
}
4 changes: 2 additions & 2 deletions sdk_load_test/load_create_ip_with_existing_collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const keyCollectionAddress: { [key: string]: any } = {};

const sourceFilePath = './sdk_load_test/wallets_privateKeys.json';
const destinationFilePath = './sdk_load_test/wallets_privateKey_test.json';
const numberOfEntriesToCopy = 2;
const numberOfExecutions = 2;
const numberOfEntriesToCopy = 100;
const numberOfExecutions = 20;

async function createCollection(privateKey: string) {
const testAccount = privateKeyToAccount(privateKey as Address);
Expand Down

0 comments on commit c8cabcf

Please sign in to comment.