1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
joostdecock
26e282f5b7 fix: Fix tests after major chai upgrade
Note that the tests for Lumina are failing, but that's not related to
the chai upgrade, rather it seems these tests fail because of issues in
the design that we'll tackle later (it's a brand new design yet to be
released).
2024-02-04 12:14:42 +01:00
Joost De Cock
6d5c21e4e1 fix(plugin-annotations): Set bias/cutonfold explicity in cutlist
The cutlist methods were being clever by deducing whether a part should
be cut on the fold from info set by the cutonfold macro.

This is a footgun, because this only works when the cutlist is set after
the cutonfold macro is run.

We can't expect designers to know they should add this annotation before
that annotation so now you need to add it explicitly.

The current keys to pass are:

 - cut
 - from (used to be material)
 - onBias (used to be bias)
 - onFold (replaced ignoreOnFold)
2023-09-13 17:41:03 +02:00
joostdecock
31e7b50ba1 fix(plugin-annotations): Don't load core plugins in tests 2023-09-08 10:50:03 +02:00
Enoch Riese
adbc817863 add plugin-cutlist to plugin-annotations 2023-04-20 10:22:47 -04:00
Renamed from plugins/plugin-cutlist/tests/plugin.test.mjs (Browse further)