-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:binary-com/deriv-app into henry/9…
…3321/charts-empty-for-1min-and-above-for-digits
- Loading branch information
Showing
90 changed files
with
2,191 additions
and
917 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { generatePlaceholderText } from '../utils'; | ||
|
||
describe('generatePlaceholderText', () => { | ||
it('should return the correct placeholder text for drivers license', () => { | ||
expect(generatePlaceholderText('drivers_license')).toEqual('Enter Driver License Reference number'); | ||
}); | ||
|
||
it('should return the correct placeholder text for ssnit', () => { | ||
expect(generatePlaceholderText('ssnit')).toEqual('Enter your SSNIT number'); | ||
}); | ||
|
||
it('should return the correct placeholder text for id card', () => { | ||
expect(generatePlaceholderText('id_card')).toEqual('Enter your document number'); | ||
}); | ||
|
||
it('should return the correct placeholder text for passport', () => { | ||
expect(generatePlaceholderText('passport')).toEqual('Enter your document number'); | ||
}); | ||
}); |
Oops, something went wrong.