Skip to content

Commit f6f6710

Browse files
committed
chore: update list experiment test cases
1 parent c171278 commit f6f6710

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/remoteconfig/listexperiments.spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -175,23 +175,6 @@ describe("Remote Config Experiment List", () => {
175175
`Failed to get Remote Config experiments for project ${PROJECT_ID}.`,
176176
);
177177
});
178-
179-
it("should reject with a FirebaseError if the API call returns a 500 error.", async () => {
180-
const listExperimentOptions: ListExperimentOptions = {
181-
pageSize: DEFAULT_PAGE_SIZE,
182-
};
183-
nock(remoteConfigApiOrigin())
184-
.get(`/v1/projects/${PROJECT_ID}/namespaces/${NAMESPACE_FIREBASE}/experiments`)
185-
.query({ page_size: DEFAULT_PAGE_SIZE })
186-
.reply(500, { error: { message: "Internal Server Error" } });
187-
188-
await expect(
189-
listExperiments(PROJECT_ID, NAMESPACE_FIREBASE, listExperimentOptions),
190-
).to.eventually.be.rejectedWith(
191-
FirebaseError,
192-
`Failed to get Remote Config experiments for project ${PROJECT_ID}. Error: Internal Server Error`,
193-
);
194-
});
195178
});
196179

197180
describe("parseExperimentList", () => {

0 commit comments

Comments
 (0)