Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **fix(tests):** the new Gemini Web Images retirement test (#11708) called the now-async `getExecutor()` synchronously, throwing `TypeError: getExecutor(...).getProvider is not a function` instead of asserting Gemini Web chat stays available. Awaited to match the R0.3 executor-registry refactor (#11220).
4 changes: 2 additions & 2 deletions tests/unit/gemini-web-image-retirement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ test("Gemini Web image-only parser and handler artifacts are retired", () => {
);
});

test("Gemini Web chat and legitimate Gemini image providers remain available", () => {
test("Gemini Web chat and legitimate Gemini image providers remain available", async () => {
assert.equal(hasSpecializedExecutor("gemini-web"), true);
assert.equal(getExecutor("gemini-web").getProvider(), "gemini-web");
assert.equal((await getExecutor("gemini-web")).getProvider(), "gemini-web");
assert.equal(REGISTRY["gemini-web"]?.executor, "gemini-web");
assert.deepEqual(
REGISTRY["gemini-web"]?.models.map(({ id }) => id),
Expand Down
Loading