-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Init Testing setup #10954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Init Testing setup #10954
Conversation
|
g1nt0ki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing pnpm lock file update?
| maxWorkers: 1, | ||
| ci: false, | ||
| cacheDirectory: '/tmp/jest-cache', | ||
| testEnvironment: "node", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, unsure if this will break current github action flow that has a dependency on test passing before deploying to aws
| 1. **Cache responses** - Use `beforeAll` to fetch once | ||
| 2. **Group by purpose** - Basic → Data → Metadata → Edge Cases | ||
| 3. **Test samples** - Don't iterate all items (use `.slice(0, 10)`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what I would do here is, take the top 10 (usually most valuable protocols) & and a random 10, maybe add a helper for this?
| outputName: 'junit.xml', | ||
| }] | ||
| ], | ||
| coverageDirectory: './coverage', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can skip the coverage as these are not unit tests but e2e?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if there is a config to disable it in the config
defi/package.json
Outdated
| "test:api:coverage": "jest --testPathPattern=api-tests --maxWorkers=1 --coverage", | ||
| "test:api": "cd api-tests && jest", | ||
| "test:api:watch": "cd api-tests && jest --watch", | ||
| "test:api:coverage": "cd api-tests && jest --coverage", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove coverage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
* number * check decimals before transform * avnu address padding
* token mappings * makina name
Co-authored-by: vrtnd <[email protected]>
…nd combine dipcoin spot and dipcoin perps into one dipcoin group. (DefiLlama#10931) * Add DipCoin Perp TVL Adapter for SUI * add tvl、volume、fee three meters for dipcoin spot and dipcoin perps. and combine dipcoin spot and dipcoin perps into one dipcoin group. * add tvl、volume、fee three meters for dipcoin spot and dipcoin perps. and combine dipcoin spot and dipcoin perps into one dipcoin group. * add tvl、volume、fee three meters for dipcoin spot and dipcoin perps. and combine dipcoin spot and dipcoin perps into one dipcoin group. --------- Co-authored-by: alan <[email protected]>
|
Writing JSON test report to ./test-results/junit.json |
No description provided.