Skip to content

Commit d7cc6da

Browse files
committed
fix test
1 parent b4f06f5 commit d7cc6da

File tree

3 files changed

+49
-26
lines changed

3 files changed

+49
-26
lines changed

Diff for: .size-snapshot.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"gzipped": 1999
2020
},
2121
"dist/web.js": {
22-
"bundled": 62648,
23-
"minified": 29815,
24-
"gzipped": 10790,
22+
"bundled": 62561,
23+
"minified": 29801,
24+
"gzipped": 10770,
2525
"treeshaked": {
2626
"rollup": {
2727
"code": 11656,
@@ -38,9 +38,9 @@
3838
"gzipped": 11641
3939
},
4040
"dist/native.js": {
41-
"bundled": 59707,
42-
"minified": 27788,
43-
"gzipped": 9751,
41+
"bundled": 59620,
42+
"minified": 27774,
43+
"gzipped": 9733,
4444
"treeshaked": {
4545
"rollup": {
4646
"code": 8530,
@@ -52,9 +52,9 @@
5252
}
5353
},
5454
"dist/universal.js": {
55-
"bundled": 47103,
56-
"minified": 21026,
57-
"gzipped": 6936,
55+
"bundled": 47016,
56+
"minified": 21012,
57+
"gzipped": 6916,
5858
"treeshaked": {
5959
"rollup": {
6060
"code": 523,
@@ -66,9 +66,9 @@
6666
}
6767
},
6868
"dist/konva.js": {
69-
"bundled": 58292,
70-
"minified": 27043,
71-
"gzipped": 9668,
69+
"bundled": 58205,
70+
"minified": 27029,
71+
"gzipped": 9646,
7272
"treeshaked": {
7373
"rollup": {
7474
"code": 9206,
@@ -202,14 +202,14 @@
202202
}
203203
},
204204
"dist/web.cjs.js": {
205-
"bundled": 72236,
206-
"minified": 34034,
207-
"gzipped": 11364
205+
"bundled": 72149,
206+
"minified": 34020,
207+
"gzipped": 11352
208208
},
209209
"dist/native.cjs.js": {
210-
"bundled": 69805,
211-
"minified": 32191,
212-
"gzipped": 10333
210+
"bundled": 69718,
211+
"minified": 32177,
212+
"gzipped": 10323
213213
},
214214
"dist/renderprops.cjs.js": {
215215
"bundled": 77684,
@@ -237,9 +237,9 @@
237237
"gzipped": 10453
238238
},
239239
"dist/universal.cjs.js": {
240-
"bundled": 56336,
241-
"minified": 25095,
242-
"gzipped": 7496
240+
"bundled": 56249,
241+
"minified": 25081,
242+
"gzipped": 7490
243243
},
244244
"dist/test.js": {
245245
"bundled": 32365,
@@ -261,8 +261,8 @@
261261
"gzipped": 5405
262262
},
263263
"dist/konva.cjs.js": {
264-
"bundled": 67641,
265-
"minified": 31184,
266-
"gzipped": 10243
264+
"bundled": 67554,
265+
"minified": 31170,
266+
"gzipped": 10231
267267
}
268268
}

Diff for: src/tests/controller.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('update', () => {
99
Globals.injectFrame(mockRaf.raf, mockRaf.cancel)
1010
Globals.injectNow(mockRaf.now)
1111

12-
const ctrl = new Controller({ x: 0 })
12+
const ctrl = new Controller({ x: 0 }).start()
1313
expect(ctrl.getValues().x.getValue()).toBe(0)
1414

1515
ctrl.update({ x: 100 })

Diff for: yarn.lock

+24-1
Original file line numberDiff line numberDiff line change
@@ -4027,6 +4027,11 @@ kleur@^3.0.2:
40274027
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.2.tgz#83c7ec858a41098b613d5998a7b653962b504f68"
40284028
integrity sha512-3h7B2WRT5LNXOtQiAaWonilegHcPSf9nLVXlSTci8lu1dZUuui61+EsPEZqSVxY7rXYmB2DVKMQILxaO5WL61Q==
40294029

4030+
konva@^2.6.0:
4031+
version "2.6.0"
4032+
resolved "https://registry.yarnpkg.com/konva/-/konva-2.6.0.tgz#43165b95e32a4378ce532d9113c914f4998409c3"
4033+
integrity sha512-LCOoavICTD9PYoAqtWo8sbxYtCiXdgEeY7vj/Sq8b2bwFmrQr9Ak0RkD4/jxAf5fcUQRL5e1zPLyfRpVndp20A==
4034+
40304035
lcid@^1.0.0:
40314036
version "1.0.0"
40324037
resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
@@ -5426,6 +5431,24 @@ react-is@^16.7.0, react-is@^16.8.1:
54265431
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.1.tgz#a80141e246eb894824fb4f2901c0c50ef31d4cdb"
54275432
integrity sha512-ioMCzVDWvCvKD8eeT+iukyWrBGrA3DiFYkXfBsVYIRdaREZuBjENG+KjrikavCLasozqRWTwFUagU/O4vPpRMA==
54285433

5434+
react-konva@^16.7.1:
5435+
version "16.8.0"
5436+
resolved "https://registry.yarnpkg.com/react-konva/-/react-konva-16.8.0.tgz#2be2a8f14e51e4a096d905fbc30f8d8135d3cb6a"
5437+
integrity sha512-+3u96gWrhBv7soq3Tyi+uxLhFiVN2D5fGvs0eoz93B+M3CGyK8ho1v3iyCiNAWjIDppTdwyx6S6tpjLptGu/fg==
5438+
dependencies:
5439+
react-reconciler "^0.19.0"
5440+
scheduler "^0.13.0"
5441+
5442+
react-reconciler@^0.19.0:
5443+
version "0.19.1"
5444+
resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.19.1.tgz#0735fc290617780a2c9735218a4762e7d77797e6"
5445+
integrity sha512-zgzY3mLQ2CpQ9hP3tEZi6wlRW628V4WYiRigaSbrgvN013STZn3/N19p8pW4/dn4oCKapRuL7dycbtwRcOzE+w==
5446+
dependencies:
5447+
loose-envify "^1.1.0"
5448+
object-assign "^4.1.1"
5449+
prop-types "^15.6.2"
5450+
scheduler "^0.13.1"
5451+
54295452
[email protected], react-test-renderer@^16.0.0-0:
54305453
version "16.8.1"
54315454
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.8.1.tgz#72845ad9269be526126e97853311982f781767be"
@@ -5883,7 +5906,7 @@ sax@^1.2.4:
58835906
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
58845907
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
58855908

5886-
scheduler@^0.13.1:
5909+
scheduler@^0.13.0, scheduler@^0.13.1:
58875910
version "0.13.1"
58885911
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.1.tgz#1a217df1bfaabaf4f1b92a9127d5d732d85a9591"
58895912
integrity sha512-VJKOkiKIN2/6NOoexuypwSrybx13MY7NSy9RNt8wPvZDMRT1CW6qlpF5jXRToXNHz3uWzbm2elNpZfXfGPqP9A==

0 commit comments

Comments
 (0)