Pend environment-specific specs rather than passing
This commit is contained in:
@@ -82,7 +82,7 @@ describe('toThrowError', function() {
|
||||
|
||||
it('passes if thrown is an instanceof Error regardless of global that contains its constructor', function() {
|
||||
if (isNotRunningInBrowser()) {
|
||||
return;
|
||||
pending('This test only runs in browsers.');
|
||||
}
|
||||
|
||||
const matcher = jasmineUnderTest.matchers.toThrowError();
|
||||
|
||||
Reference in New Issue
Block a user