Skip to content

Commit 82ce88c

Browse files
Fixed rate exchange tests (#513)
* Creating an inital Fixed rate exchange test * Testing additional fields * Testing all fields on fixed rate exchange * Splitting up tests * Splitting up fixed rate exachange tests * Creating test for fixed rate price updates * Adding test for updating allowed swapper * Fixing templateId test * Testing fixed rate excahnge updates * Testing deactivate exchange * Testing activate and deactive exchange * Updating activate and deactivate minting * Testing all fields of swaps after buying a DT * Creating testing for selling a fixed rate DT * Creating a constant for sleep ms
1 parent 6199c34 commit 82ce88c

File tree

2 files changed

+728
-0
lines changed

2 files changed

+728
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"deploy:local-barge": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml -l $npm_package_version --debug --ipfs http://172.15.0.16:5001 --node http://172.15.0.15:8020",
2525
"test": "npm run codegen && npm run lint && npm run type-check",
2626
"test-integration": "TS_NODE_PROJECT='test/integration/tsconfig.json' mocha --config=test/integration/.mocharc.json --node-env=test --exit 'test/integration/**/*.test.ts'",
27+
"test-fixed": "TS_NODE_PROJECT='test/integration/tsconfig.json' mocha --config=test/integration/.mocharc.json --node-env=test --exit 'test/integration/FixedRateExchange.test.ts'",
2728
"lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx .",
2829
"lint:fix": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx . --fix",
2930
"format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json,yaml}' --write",

0 commit comments

Comments
 (0)