Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix: broken build. (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery authored Aug 18, 2016
1 parent fe76168 commit 5e3c207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/zone-spec/task-tracking.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('TaskTrackingZone', function() {
expect(taskTrackingZoneSpec.microTasks.length).toBe(0);

// If a browser does not have XMLHttpRequest, then end test here.
if (global['XMLHttpRequest']) return done();
if (typeof global['XMLHttpRequest'] == 'undefined') return done();
const xhr = new XMLHttpRequest();
xhr.open('get', '/', true);
xhr.onreadystatechange = () => {
Expand Down

0 comments on commit 5e3c207

Please sign in to comment.