Skip to content

Commit

Permalink
Removed fit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdove1 committed Aug 16, 2019
1 parent 3dce376 commit be0b38f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/jquery.flot.canvaswrapper.Test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('CanvasWrapper', function() {
expect(box2.top).not.toBe(box1.top);
});

fit('should add the same text with the correct horizontal alignment', function() {
it('should add the same text with the correct horizontal alignment', function() {
var canvas = newCanvas(placeholder);
canvas.addText('layerA', 100, 200, '123', 'a', 0, 200, 'center', 'top');
canvas.addText('layerA', 100, 200, '234', 'a');
Expand All @@ -142,7 +142,7 @@ describe('CanvasWrapper', function() {
expect(box2.top).toBe(box1.top);
});

fit('should add the same text with the correct vertical alignment', function() {
it('should add the same text with the correct vertical alignment', function() {
var canvas = newCanvas(placeholder);
canvas.addText('layerA', 100, 200, '123', 'a', 0, 200, 'left', 'bottom');
canvas.addText('layerA', 100, 200, '234', 'a');
Expand All @@ -156,7 +156,7 @@ describe('CanvasWrapper', function() {
expect(box2.top).not.toBe(box1.top);
});

fit('should add the same text with the correct tranforms', function() {
it('should add the same text with the correct tranforms', function() {
var canvas = newCanvas(placeholder);
var transforms = [], translate;
var svgLayer = canvas.getSVGLayer('layerA');
Expand Down

0 comments on commit be0b38f

Please sign in to comment.