mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(packages): add slider core layer (#529)
This commit is contained in:
@@ -57,6 +57,10 @@ describe('formatTime', () => {
|
||||
});
|
||||
|
||||
describe('formatTimeAsPhrase', () => {
|
||||
it('formats zero seconds', () => {
|
||||
expect(formatTimeAsPhrase(0)).toBe('0 seconds');
|
||||
});
|
||||
|
||||
it('formats seconds only', () => {
|
||||
expect(formatTimeAsPhrase(1)).toBe('1 second');
|
||||
expect(formatTimeAsPhrase(30)).toBe('30 seconds');
|
||||
|
||||
Reference in New Issue
Block a user