-
Notifications
You must be signed in to change notification settings - Fork 394
chore: test case for api-token #9525
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
chore: test case for api-token #9525
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-suisin-deriv-suisin-webrel369testcase-58b522.binary.sx/ |
packages/account/src/Components/api-token/_tests_/api-token-table.spec.tsx
Outdated
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-table-row-cell.spec.tsx
Outdated
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-table.spec.tsx
Outdated
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-delete-button.spec.tsx
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-delete-button.spec.tsx
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-delete-button.spec.tsx
Outdated
Show resolved
Hide resolved
packages/account/src/Components/api-token/_tests_/api-token-article.spec.tsx
Outdated
Show resolved
Hide resolved
| import { TApiContext } from 'Types'; | ||
|
|
||
| const ApiTokenContext = React.createContext<TApiContext>({}); | ||
| const ApiTokenContext = React.createContext<TApiContext>({ |
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 is the purpose of this?
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.
This is to provide an Initial value towards the ApiContext based on the types given in TApiContext
|
Kudos, SonarCloud Quality Gate passed!
|
|
Will merge it into utkarsha's branch since she is refactoring editing the same component |








Changes:
Added Test Cases for Api Token
Screenshots:
Please provide some screenshots of the change.