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
TypeMoq silences exceptions thrown in test cases that use GlobalScope:
it("should fail", () => { const mock = TypeMoq.GlobalMock.ofInstance(someFunc); TypeMoq.GlobalScope.using(mock).with(() => { someFunc(); assert.equal(1, 2); }); });
Output:
2: AssertionError [ERR_ASSERTION]: 1 == 2 ✓ should fail (68ms) 1 passing (201ms)
This is terrible for continuous integration environments...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TypeMoq silences exceptions thrown in test cases that use GlobalScope:
Output:
This is terrible for continuous integration environments...
The text was updated successfully, but these errors were encountered: