mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 09:50:05 +08:00
refactor: remove custom typescript settings for tests
This commit is contained in:
@@ -3,7 +3,7 @@ import { assert } from 'chai';
|
||||
import {
|
||||
addStage,
|
||||
Konva,
|
||||
createCanvas,
|
||||
createCanvasAndContext,
|
||||
compareLayerAndCanvas,
|
||||
compareLayers,
|
||||
} from './test-utils.ts';
|
||||
@@ -147,8 +147,7 @@ describe('Line', function () {
|
||||
layer.add(line);
|
||||
stage.add(layer);
|
||||
|
||||
var canvas = createCanvas();
|
||||
var context = canvas.getContext('2d');
|
||||
const { canvas, context } = createCanvasAndContext();
|
||||
|
||||
context.save();
|
||||
context.lineJoin = 'round';
|
||||
|
Reference in New Issue
Block a user