Improved specs for async matcher error messages

This commit is contained in:
Steve Gravrock
2024-12-31 10:10:40 -08:00
parent 03d665e243
commit 7683325d68
6 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ describe('toBePending', function() {
}
expect(f).toThrowError(
`Expected toBePending to be called on a promise but was on a ${typeof actual}.`
'Expected toBePending to be called on a promise but was on a string.'
);
});
});