Skip to content

Commit

Permalink
chore: updated the translation literals (binary-com#12269)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-deriv committed Dec 14, 2023
1 parent ccd780b commit ebc8e2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -12,15 +12,15 @@ export const jurisdictionVerificationContents = (): TJurisdictionVerificationCon
required_verification_docs: {
document_number: {
icon: 'IcDocumentNumberVerification',
text: localize(`Document number (e.g. identity card, passport, driver's license)`),
text: localize("Document number (e.g. identity card, passport, driver's license)"),
},
selfie: {
icon: 'IcSelfieVerification',
text: localize('A selfie of yourself.'),
},
identity_document: {
icon: 'IcIdentityDocumentVerification',
text: localize(`A copy of your identity document (e.g. identity card, passport, driver's license)`),
text: localize("A copy of your identity document (e.g. identity card, passport, driver's license)"),
},
name_and_address: {
icon: 'IcNameAndAddressVerification',
Expand Down
Expand Up @@ -35,15 +35,15 @@ describe('<JurisdictionCardBack />', () => {
expect(screen.getByText('We need you to submit these in order to get this account:')).toBeInTheDocument();
expect(screen.queryByText('A selfie of yourself.')).not.toBeInTheDocument();
expect(
screen.queryByText(`Document number (e.g. identity card, passport, driver's license)`)
screen.queryByText("Document number (e.g. identity card, passport, driver's license)")
).not.toBeInTheDocument();
expect(
screen.queryByText(
'A recent utility bill (e.g. electricity, water or gas) or recent bank statement or government-issued letter with your name and address.'
)
).not.toBeInTheDocument();
expect(
screen.queryByText(`A copy of your identity document (e.g. identity card, passport, driver's license)`)
screen.queryByText("A copy of your identity document (e.g. identity card, passport, driver's license)")
).not.toBeInTheDocument();
exampleVerificationMessage();
});
Expand All @@ -53,11 +53,11 @@ describe('<JurisdictionCardBack />', () => {
render(<JurisdictionCardBack {...mock_props} />);
expect(screen.queryByText('A selfie of yourself.')).not.toBeInTheDocument();
expect(
screen.queryByText(`A copy of your identity document (e.g. identity card, passport, driver's license)`)
screen.queryByText("A copy of your identity document (e.g. identity card, passport, driver's license)")
).not.toBeInTheDocument();
expect(screen.getByText('We need you to submit these in order to get this account:')).toBeInTheDocument();
expect(
screen.getByText(`Document number (e.g. identity card, passport, driver's license)`)
screen.getByText("Document number (e.g. identity card, passport, driver's license)")
).toBeInTheDocument();
expect(
screen.getByText(
Expand All @@ -73,7 +73,7 @@ describe('<JurisdictionCardBack />', () => {
expect(screen.getByText('We need you to submit these in order to get this account:')).toBeInTheDocument();
expect(screen.getByText('A selfie of yourself.')).toBeInTheDocument();
expect(
screen.getByText(`A copy of your identity document (e.g. identity card, passport, driver's license)`)
screen.getByText("A copy of your identity document (e.g. identity card, passport, driver's license)")
).toBeInTheDocument();
expect(
screen.getByText(
Expand All @@ -82,7 +82,7 @@ describe('<JurisdictionCardBack />', () => {
).toBeInTheDocument();
exampleVerificationMessage();
expect(
screen.queryByText(`Document number (e.g. identity card, passport, driver's license)`)
screen.queryByText("Document number (e.g. identity card, passport, driver's license)")
).not.toBeInTheDocument();
});

Expand Down

0 comments on commit ebc8e2d

Please sign in to comment.