Skip to content

Commit

Permalink
Remove focus from test, experiment with old interval
Browse files Browse the repository at this point in the history
  • Loading branch information
flevi29 committed Jan 30, 2025
1 parent 6ff3d52 commit 72c1456
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export class TaskClient {
constructor(httpRequest: HttpRequests, defaultWaitOptions?: WaitOptions) {
this.#httpRequest = httpRequest;
this.#defaultTimeout = defaultWaitOptions?.timeout ?? 5_000;
this.#defaultInterval = defaultWaitOptions?.interval ?? 200;
// 200
this.#defaultInterval = defaultWaitOptions?.interval ?? 50;
this.#applyWaitTask = getWaitTaskApplier(this);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/task.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ describe.each([{ permission: "Master" }, { permission: "Admin" }])(
});

// cancel: afterFinishedAt
test.only(`${permission} key: Cancel a task using afterFinishedAt filter with no timeout`, async () => {
test(`${permission} key: Cancel a task using afterFinishedAt filter with no timeout`, async () => {
const client = await getClient(permission);

const currentTimeStamp = Date.now();
Expand Down

0 comments on commit 72c1456

Please sign in to comment.