Skip to content

Commit a57ea26

Browse files
Splaktaralxhub
authored andcommitted
test(zone.js): fix typos (#31358)
Relates to #31144 PR Close #31358
1 parent 4ea54a7 commit a57ea26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/zone.js/lib/zone-spec/proxy.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ class ProxyZoneSpec implements ZoneSpec {
4242
this.propertyKeys = Object.keys(delegateSpec.properties);
4343
this.propertyKeys.forEach((k) => this.properties[k] = delegateSpec.properties ![k]);
4444
}
45-
// if set a new delegateSpec, shoulde check whether need to
46-
// trigger hasTask or not
45+
// if a new delegateSpec was set, check if we need to trigger hasTask
4746
if (isNewDelegate && this.lastTaskState &&
4847
(this.lastTaskState.macroTask || this.lastTaskState.microTask)) {
4948
this.isNeedToTriggerHasTask = true;
@@ -90,7 +89,7 @@ class ProxyZoneSpec implements ZoneSpec {
9089
.join(',');
9190
return `type: ${task.type}, source: ${task.source}, args: {${dataInfo}}`;
9291
});
93-
const pendingTasksInfo = '--Pendng async tasks are: [' + taskInfo + ']';
92+
const pendingTasksInfo = '--Pending async tasks are: [' + taskInfo + ']';
9493
// clear tasks
9594
this.tasks = [];
9695

0 commit comments

Comments
 (0)