Skip to content

Commit c2d57d9

Browse files
committed
Fixed up the arrow_spec with the correct arrow boarder calculation
1 parent 54f6d8a commit c2d57d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/spec/models/arrow_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe("CSSArrowPlease.Arrow", function () {
245245

246246
expect( arrow._arrowCSS ).toHaveBeenCalledWith(
247247
arrow.get('borderColor'),
248-
arrow.get('size') + (arrow.get('borderWidth') * 2),
248+
arrow.get('size') + (arrow.get('borderWidth') * 1.41421356),
249249
'before'
250250
);
251251
});

0 commit comments

Comments
 (0)