diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-01-22 21:35:56 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-01-22 21:35:56 +0100 |
commit | ecd4d0d1ca82bbaa3a3990feac3eabaeb9e6fd43 (patch) | |
tree | 0718dc7a4d4838258f8b50bb8d71d2db9fb64306 | |
parent | bf4164f5f8799c00c3ee71f8736064aebb50c15e (diff) | |
download | svg.js-ecd4d0d1ca82bbaa3a3990feac3eabaeb9e6fd43.tar.gz svg.js-ecd4d0d1ca82bbaa3a3990feac3eabaeb9e6fd43.zip |
fix travis test
-rw-r--r-- | spec/spec/text.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js index f1b0101..0bef0d1 100644 --- a/spec/spec/text.js +++ b/spec/spec/text.js @@ -122,8 +122,8 @@ describe('Text', function() { it('sets the cx and cy position', function() { text.center(321, 567) var box = text.bbox() - expect(text.bbox().cx).toBeCloseTo(321) - expect(text.bbox().cy).toBeCloseTo(567) + expect(text.bbox().cx).toBeCloseTo(321, 1) + expect(text.bbox().cy).toBeCloseTo(567, 1) }) }) |