Commit graph

38 commits

Author SHA1 Message Date
Steve Ruiz
31f853f036
Merge pull request #57 from tldraw/test/duplicate-command
test(commands): add coverage for duplicate command
2021-07-22 16:06:10 +01:00
Steve Ruiz
f907c48708 Update README.md 2021-07-22 11:29:01 +01:00
Steve Ruiz
854bfaf6ed Adds test readme, updates test utils. 2021-07-22 11:10:02 +01:00
Tais Massaro
6a68867e0c test(commands): add coverage for duplicate command 2021-07-20 23:09:45 +02:00
Steve Ruiz
6ce1f0b5f1 Fixes tests 2021-07-14 12:40:18 +01:00
Steve Ruiz
43276c700f Fix bug with loading pages 2021-07-14 12:39:34 +01:00
Steve Ruiz
fd67e2791d Adds page options panel to rename / duplicate / delete pages 2021-07-14 11:42:16 +01:00
Steve Ruiz
67b25ad1e1 Updates code test, test utils 2021-07-14 09:12:56 +01:00
Steve Ruiz
0855a92497 Fix tests 2021-07-14 09:08:12 +01:00
Steve Ruiz
70c8c84790 Adds shape tests (some stubs), fixes bugs 2021-07-13 20:34:43 +01:00
Steve Ruiz
eca210da6a Bumps state-designer 2021-07-12 12:17:47 +01:00
Steve Ruiz
5957fb5db5 Adds test for the toggle command, renames files to include test 2021-07-10 15:00:36 +01:00
Steve Ruiz
54ea0e3a2d Adds testMode, tests for RectangleShape 2021-07-09 09:59:43 +01:00
Steve Ruiz
86b9bc915c Format tests 2021-07-07 14:53:47 +01:00
Steve Ruiz
4a492dcefc Updates tests 2021-07-07 14:53:03 +01:00
Steve Ruiz
8180146eb3 Adds provisional logger 2021-07-04 19:45:07 +01:00
Steve Ruiz
48c659a68a Trims default false boolean props
This should reduce the size of files / saves, for example.
2021-07-04 09:47:37 +01:00
Steve Ruiz
39b943248f Updates style panel 2021-07-01 23:11:09 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
e4b154950f Update delete.test.ts 2021-06-29 13:13:46 +01:00
Steve Ruiz
45223e2a8d Big restructure of utils 2021-06-29 13:00:59 +01:00
Steve Ruiz
724d44b744 Updates perfect-freehand 2021-06-28 07:56:08 +01:00
Steve Ruiz
121bba5acb Update delete.test.ts 2021-06-27 21:07:09 +01:00
Steve Ruiz
d1a3860bb1 Fixes a perf-killing deepCompare in context menu
Was deep comparing an array of actual selected shapes, rather than selected shape ids
2021-06-27 10:07:20 +01:00
Steve Ruiz
ff58073d12 Adds more tests, simplifies draw tool 2021-06-26 12:52:36 +01:00
Steve Ruiz
75e60d5eb2 Adds more tests for code 2021-06-25 13:21:33 +01:00
Steve Ruiz
776c0b5f0e Fixes types for code editor 2021-06-25 13:09:53 +01:00
Steve Ruiz
3c26ffaae3 Adds readOnly test for code 2021-06-25 12:05:29 +01:00
Steve Ruiz
0ee26a8493 Make updating code controls async 2021-06-25 12:01:22 +01:00
Steve Ruiz
85dc3028b4 Stubs tests. Updates types for controls. 2021-06-25 11:28:52 +01:00
Steve Ruiz
bdafae3db6 Fix double undos, cleans up utils 2021-06-24 13:34:43 +01:00
Steve Ruiz
82bd129e3a Fixes utils imports 2021-06-24 09:18:14 +01:00
Steve Ruiz
b5490b6857 Update snapshots 2021-06-23 23:42:15 +01:00
Steve Ruiz
2c6545806a Update dashes.test.ts.snap 2021-06-23 16:00:39 +01:00
Steve Ruiz
d5fe5612e1 Fixes events with shapes, adds test for selection 2021-06-23 15:39:14 +01:00
Steve Ruiz
e265a85d7b test cleanup 2021-06-23 13:46:46 +01:00
Steve Ruiz
a24b7f7931 Adds tests, fixes bug on pre-complete sessions 2021-06-23 13:46:16 +01:00
Steve Ruiz
9e2938c3d5 Generalize dash helper. 2021-06-22 19:13:16 +01:00