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

Commit 5e3c207

Browse files
authored
fix: broken build. (#406)
1 parent fe76168 commit 5e3c207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/zone-spec/task-tracking.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('TaskTrackingZone', function() {
2828
expect(taskTrackingZoneSpec.microTasks.length).toBe(0);
2929

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

0 commit comments

Comments
 (0)