Commit 64d0ed6 for mammothjs

commit 64d0ed6e293f2a3a7ed2c3be97a805f02724693d
Author: Michael Williamson <mike@zwobble.org>
Date:   Sat May 31 09:46:11 2025 +0100

    Test rejected value in props()

diff --git a/test/promises.tests.js b/test/promises.tests.js
index f54245b..05b27d0 100644
--- a/test/promises.tests.js
+++ b/test/promises.tests.js
@@ -82,6 +82,21 @@ test("props", {
         });
     },

+    "when value is rejected promise then props is rejected promise": function() {
+        return promises.props({
+            a: promises.resolve(1),
+            b: promises.reject(new Error("failure")),
+            c: promises.resolve(3)
+        }).then(
+            function(result) {
+                assert.fail("Expected rejection");
+            },
+            function(error) {
+                assert.strictEqual(error.message, "failure");
+            }
+        );
+    },
+
     "props(...).also(...) can be used to add props": function() {
         return promises.props({
             a: promises.resolve(1)