Skip to content

Commit c6a8891

Browse files
committed
fix tests
1 parent 1b328d1 commit c6a8891

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
it("should polyfill System", function() {
2-
if (typeof System === "object" && typeof System.register === "function") {
2+
if (typeof System.register === "function") {
33
require("fail");
44
}
55
(typeof System).should.be.eql("object");
@@ -9,4 +9,4 @@ it("should polyfill System", function() {
99
(typeof System.anyNewItem).should.be.eql("undefined");
1010
var x = System.anyNewItem;
1111
(typeof x).should.be.eql("undefined");
12-
})
12+
})

test/cases/parsing/typeof/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ it("should not parse filtered stuff", function() {
4545
if(typeof module === "undefined") module = require("fail");
4646
if(typeof module != "object") module = require("fail");
4747
if(typeof exports == "undefined") exports = require("fail");
48-
if(typeof System !== "object") exports = require("fail");
4948
if(typeof System.import !== "function") exports = require("fail");
5049
if(typeof require.include !== "function") require.include("fail");
5150
if(typeof require.ensure !== "function") require.ensure(["fail"], function(){});

0 commit comments

Comments
 (0)