-
Notifications
You must be signed in to change notification settings - Fork 379
[DTRA] Maryia/WEBREL-29/test: Stores/Modules/Trading/Actions files in Trader package #12459
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
[DTRA] Maryia/WEBREL-29/test: Stores/Modules/Trading/Actions files in Trader package #12459
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-maryia-deriv-maryia-webrel-29test-act-8fb774.binary.sx/ |
f0e5ee1
to
e714d72
Compare
99bcff8
to
df0f610
Compare
❌ Smoke test run (1) failed. See logs for details: Visit Action |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
❌ Smoke test run (1) failed. See logs for details: Visit Action |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
❌ Smoke test run (1) failed. See logs for details: Visit Action |
❌ Smoke test run (1) failed. See logs for details: Visit Action |
barrier: barrier_intraday, | ||
barrier_choices: barrier_choices_intraday, | ||
contract_display: 'Vanilla Long Put', | ||
contract_type: 'VANILLALONGPUT', |
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.
I guess, if you are using TRADE_TYPES.VANILLA.CALL below, it can be also applied here and on lines 90,79, 68, 54
Please, ignore if not relevant
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.
@kate-deriv unfortunately, using external variables is prohibited inside jest.mocks
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.
Oh, sorry I didn't know
barrier: barrier_intraday, | ||
barrier_choices: barrier_choices_intraday, | ||
contract_display: 'Vanilla Long Put', | ||
contract_type: 'VANILLALONGPUT', |
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.
Probably, same in this file
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.
same as #12459 (comment)
|
⏳ Generating Lighthouse report... |
Changes:
To add test coverage for files in Stores/Modules/Trading/Actions directory of Trader package:
+ fix a bug in duration.ts
Screenshots: