This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-9173-0f1df2215343470019677d983af3fb4140149dda in repository https://gitbox.apache.org/repos/asf/texera.git
commit b172c6235239d25711802963247db44db242fe7b Author: Xinyuan Lin <[email protected]> AuthorDate: Tue Oct 27 20:16:19 2026 +0000 refactor(frontend): remove unused import in user-quota spec (#9173) ### What changes were proposed in this PR? Removes the unused `WorkflowQuota` named import in `user-quota.component.spec.ts`. **+1/-1 lines.** There is no behaviour change. `WorkflowQuota` appears only on the import line of the spec. | | Commit / PR | | --- | --- | | Introduced by | #7437 (2026-08-09) test(frontend): render the quota page's result cache tab | | Usage removed by | never used | It has been unused since it was added (about 2.5 months). ### Any related issues, documentation, discussions? Closes #9172. ### How was this PR tested? `npx prettier --check` on the file passes from `frontend/`; `npx tsc --noEmit -p src/tsconfig.spec.json` reports no errors in this spec. To re-check: `git grep -nw "WorkflowQuota" -- frontend/src/app/dashboard/component/user/user-quota/user-quota.component.spec.ts` returns no hits. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity (Claude Opus 5.5) --- .../dashboard/component/user/user-quota/user-quota.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/dashboard/component/user/user-quota/user-quota.component.spec.ts b/frontend/src/app/dashboard/component/user/user-quota/user-quota.component.spec.ts index 878b3d3d11..cfe0dd73e3 100644 --- a/frontend/src/app/dashboard/component/user/user-quota/user-quota.component.spec.ts +++ b/frontend/src/app/dashboard/component/user/user-quota/user-quota.component.spec.ts @@ -25,7 +25,7 @@ import { commonTestProviders } from "../../../../common/testing/test-utils"; import { of } from "rxjs"; import { By } from "@angular/platform-browser"; import type { Mocked } from "vitest"; -import { ExecutionQuota, Workflow, WorkflowQuota } from "../../../../common/type/user"; +import { ExecutionQuota, Workflow } from "../../../../common/type/user"; import { DatasetQuota } from "../../../type/quota-statistic.interface"; import { AdminUserService } from "../../../service/admin/user/admin-user.service"; import { NZ_MODAL_DATA } from "ng-zorro-antd/modal";
