Skip to content

Commit da43792

Browse files
committed
docs(composition): bring the composition test's strategy table up to date
1 parent 2fa9117 commit da43792

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

‎tests/vitests/suites/helpers/composition.test.vitest.mjs‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @Email: <[email protected]>
88
* -----
99
* @Last modified by: Nate Corcoran <CLDMV> ([email protected])
10-
* @Last modified time: 2026-10-12T14:18:02-07:00 (1791839882)
10+
* @Last modified time: 2026-10-12T14:57:32-07:00 (1791842252)
1111
* -----
1212
* @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
1313
*
@@ -17,13 +17,15 @@
1717
* @fileoverview The one composition rule: what the build changes instead of a module's value.
1818
*
1919
* @description
20-
* | value | default | `addsMembers: true` |
21-
* | ----------------------------- | --------------------- | ------------------- |
22-
* | primitive, plain function | as-is | as-is |
23-
* | plain object | copy (descriptors kept) | copy (members replaceable) |
24-
* | user Proxy (object/callable) | layer | layer |
25-
* | array | copy (slice) | layer |
26-
* | class instance, Map | as-is | layer |
20+
* | value | default | `addsMembers: true` |
21+
* | ----------------------------- | ----------------------------------------- | -------------------------- |
22+
* | primitive | as-is | as-is |
23+
* | plain function | as-is | callable layer |
24+
* | plain object | copy (descriptors kept) | copy (members replaceable) |
25+
* | user Proxy (object/callable) | layer | layer |
26+
* | array | copy (elements, holes, members, descriptors) | layer |
27+
* | class instance, Map | as-is | layer |
28+
* | composition layer | fresh layer over the same value | fresh layer over the same value |
2729
*
2830
* @module tests/vitests/suites/helpers/composition
2931
*/

0 commit comments

Comments
 (0)