mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Fix empty tests.
This commit is contained in:
parent
763ce7f4b1
commit
3a043e0023
2 changed files with 9 additions and 0 deletions
|
@ -281,4 +281,7 @@ test('Path#fullySelected', function() {
|
|||
test('Simplifying a path with three segments of the same position should not throw an error', function() {
|
||||
var path = new Path([20, 20], [20, 20], [20, 20]);
|
||||
path.simplify();
|
||||
equals(function() {
|
||||
return path.segments.length;
|
||||
}, 1);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue