update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2022-05-05 18:41:17 -05:00
parent 3a6cd6b94b
commit f34bbf13f3
6 changed files with 21 additions and 17 deletions

View File

@@ -5,23 +5,23 @@ function equal(val1, val2, message) {
}
// try to import only core
import Konva from 'konva';
// import Konva from '../';
// no external shapes
// equal(Konva.Rect, undefined, 'no external shapes');
// // no external shapes
// // equal(Konva.Rect, undefined, 'no external shapes');
import { Rect } from 'konva/lib/shapes/Rect';
// import { Rect } from '../lib/shapes/Rect';
equal(Rect !== undefined, true, 'Rect is defined');
// equal(Rect !== undefined, true, 'Rect is defined');
equal(Konva.Rect, Rect, 'Rect is injected');
// equal(Konva.Rect, Rect, 'Rect is injected');
import Konva2 from 'konva';
// import Konva2 from '../';
equal(Konva2.Rect, Rect, 'Rect is injected');
// equal(Konva2.Rect, Rect, 'Rect is injected');
equal(Konva2, Konva, 'Same Konva');
// equal(Konva2, Konva, 'Same Konva');
// just do a simple action
const stage = new Konva.Stage();
stage.toDataURL();
// // just do a simple action
// const stage = new Konva.Stage();
// stage.toDataURL();