Skip to content

Commit 1e182db

Browse files
committed
fix: remove redundant import of timer events in parent orchestration tests
1 parent 3882589 commit 1e182db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/durabletask-js/test/parent-orchestration-instance.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { ParentOrchestrationInstance } from "../src/types/parent-orchestration-i
66
import {
77
newExecutionStartedEvent,
88
newOrchestratorStartedEvent,
9+
newTimerCreatedEvent,
10+
newTimerFiredEvent,
911
} from "../src/utils/pb-helper.util";
1012
import { OrchestrationExecutor } from "../src/worker/orchestration-executor";
1113
import * as pb from "../src/proto/orchestrator_service_pb";
@@ -135,9 +137,6 @@ describe("Parent Orchestration Instance", () => {
135137
}),
136138
];
137139

138-
// Import timer events
139-
const { newTimerCreatedEvent, newTimerFiredEvent } = require("../src/utils/pb-helper.util");
140-
141140
const oldEventsWithTimer = [
142141
...oldEvents,
143142
newTimerCreatedEvent(1, fireAt),

0 commit comments

Comments
 (0)