We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monet.js throws an exception in the following case:
it('should return false for object without constructor', () => { const obj = Object.create(null) as object; const result = Validation.isInstance(obj); // Exception is thrown expect(result).toEqual(false); });
If you include a check for the constructor property, no exception is thrown and the test is successful:
it('should return false for object without constructor 2', () => { const obj = Object.create(null) as object; const result = obj.constructor !== undefined && Validation.isInstance(obj); expect(result).toEqual(false); });
Version of monet: 0.9.3 Version of TypeScript: 5.2.2
The text was updated successfully, but these errors were encountered:
@danieltrtwn please see #258
Sorry, something went wrong.
No branches or pull requests
Monet.js throws an exception in the following case:
If you include a check for the constructor property, no exception is thrown and the test is successful:
Version of monet: 0.9.3
Version of TypeScript: 5.2.2
The text was updated successfully, but these errors were encountered: