Removed checks for PhantomJS 1

v2 has been out for a long time, and v1 can no longer be easily installed.
This commit is contained in:
Steve Gravrock
2017-11-09 07:04:06 -08:00
parent d58f3dac56
commit a42f28c734
2 changed files with 1 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ describe("toThrowError", function() {
});
it("passes if thrown is an instanceof Error regardless of global that contains its constructor", function() {
if (isNotRunningInBrowser() || jasmine.getEnv().phantomVersion < 2) {
if (isNotRunningInBrowser()) {
return;
}

View File

@@ -12,8 +12,4 @@
return /Firefox\/([0-9]{0,})/.exec(userAgent);
});
env.phantomVersion = browserVersion(function(userAgent) {
return /PhantomJS\/([0-9]{0,})/.exec(userAgent);
});
})(jasmine.getEnv());