-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b0798f
commit 0c8bdbf
Showing
2 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,6 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
npm install | ||
npm install --save @story-protocol/core-sdk [email protected] | ||
- name: Compile TypeScript | ||
run: npx tsc ./sdk_load_test/load_create_ip_with_existing_collection.ts | ||
- name: Run Load Test | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,49 @@ | ||
{ | ||
"name": "hub-load-tests", | ||
"version": "0.0.1", | ||
"name": "hub-load-test", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"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" | ||
}, | ||
"dependencies": { | ||
"@story-protocol/core-sdk": "1.0.0-rc.22", | ||
"viem": "^2.8.12" | ||
}, | ||
"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" | ||
} | ||
} |