Commit 5aa68a2 for mammothjs

commit 5aa68a22458cdc77443d44d6b923e61de0fdac8d
Author: Michael Williamson <mike@zwobble.org>
Date:   Sat May 31 09:48:06 2025 +0100

    Add test for using also multiple times

diff --git a/test/promises.tests.js b/test/promises.tests.js
index 05b27d0..a6e35ac 100644
--- a/test/promises.tests.js
+++ b/test/promises.tests.js
@@ -110,5 +110,25 @@ test("props", {
                 b: 2
             });
         });
+    },
+
+    "also can be used multiple times": function() {
+        return promises.props({
+            a: promises.resolve(1)
+        }).also(function(result) {
+            return {
+                b: result.a + 1
+            };
+        }).also(function(result) {
+            return {
+                c: result.b + 1
+            };
+        }).then(function(result) {
+            assert.deepStrictEqual(result, {
+                a: 1,
+                b: 2,
+                c: 3
+            });
+        });
     }
 });