Skip to content

Commit

Permalink
feat: increase separator width to fit the largest popup width
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed May 19, 2019
1 parent 244e8b9 commit c114f94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ describe('addSeparator', () => {
})

expect(generator.next().value).toEqual(
put(bookmarkCreators.createBookmark(parentId, index, '- '.repeat(42), CST.SEPARATE_THIS_URL))
put(
bookmarkCreators.createBookmark(
parentId,
index,
'- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -',
CST.SEPARATE_THIS_URL
)
)
)

expect(generator.next().done).toBe(true)
Expand Down
2 changes: 1 addition & 1 deletion src/js/popup/reduxs/bookmark/saga/modules/addSeparator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function* addSeparator({
bookmarkCreators.createBookmark(
payload.parentId,
payload.index,
'- '.repeat(42),
'- '.repeat(54).trim(),
CST.SEPARATE_THIS_URL
)
)
Expand Down

0 comments on commit c114f94

Please sign in to comment.