diff --git a/test/unexpectedMitm.js b/test/unexpectedMitm.js
index <HASH>..<HASH> 100644
--- a/test/unexpectedMitm.js
+++ b/test/unexpectedMitm.js
@@ -2126,6 +2126,13 @@ describe('unexpectedMitm', () => {
           );
         }
       ));
+
+    it('should not break when the assertion being delegated to throws synchronously', () =>
+      expect(
+        expect('http://www.google.com/', 'with http recorded', 'to foobarquux'),
+        'to be rejected with',
+        /^Unknown assertion 'to foobarquux'/
+      ));
   });
 
   describe('in injecting mode against a local HTTP server', () => {
Add a test case for sync throw in "with http recorded".