diff --git a/packages/saved-views-client/src/client/ITwinSavedViewsClient.test.ts b/packages/saved-views-client/src/client/ITwinSavedViewsClient.test.ts index 4368c7f3..068c039f 100644 --- a/packages/saved-views-client/src/client/ITwinSavedViewsClient.test.ts +++ b/packages/saved-views-client/src/client/ITwinSavedViewsClient.test.ts @@ -24,11 +24,6 @@ const systemUnderTest: ITwinSavedViewsClient = new ITwinSavedViewsClient({ getAccessToken: getAccessToken, }); -const confirmURL = (url: string, urlParams: string[]) => { - expect(url.startsWith(baseUrl)).toBe(true); - urlParams.forEach((urlParam) => { expect(url.includes(urlParam)).toBe(true); }); -}; - const callITwinApiTestRunner = async (expectedQueryArgs: TestQueryParams, funcUnderTest: () => Promise) => { const spy = vi.spyOn(ITwinApiHelper, "callITwinApi"); spy.mockImplementation(verifyCallITwinApiInfo(expectedQueryArgs)); @@ -47,6 +42,11 @@ const verifyCallITwinApiInfo = (queryArgs: TestQueryParams) => { }; }; +const confirmURL = (url: string, urlParams: string[]) => { + expect(url.startsWith(baseUrl)).toBe(true); + urlParams.forEach((urlParam) => { expect(url.includes(urlParam)).toBe(true); }); +}; + describe("ITwinSavedViewsClient tests for callITwinApi information transference", () => { it("getSavedViewMinimal", async () => {