diff --git a/e2e-tests/helpers/boundary-api-client.ts b/e2e-tests/helpers/boundary-api-client.ts index ce82c7451..a5b7073b4 100644 --- a/e2e-tests/helpers/boundary-api-client.ts +++ b/e2e-tests/helpers/boundary-api-client.ts @@ -246,6 +246,9 @@ export const boundaryApiClientTest = base.extend<{ controllerAddr?: string; apiClientTestAfter?: () => {}; }>({ + // this is a noop so that the `apiClient` fixture doesn't fail for other tests, + // the `apiClientTestAfter` fixture is used in api-client tests to provide a hook for assertions + apiClientTestAfter: () => {}, apiClient: async ({ controllerAddr, apiClientTestAfter }, use) => { // by destructuring the `apiClientTestAfter` fixture it creates a dependency on that fixture which // controls the setup/teardown order and allows `api-client.spec.js` to test the teardown cleanup