mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-04 15:35:25 +08:00
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
import { useConfig } from "@/composables/config";
|
|
|
|
jest.mock("composables/config");
|
|
|
|
export function setupMockConfig(configValues, isConfigLoaded = true) {
|
|
return useConfig.mockReturnValue({
|
|
config: { value: configValues },
|
|
isConfigLoaded: isConfigLoaded,
|
|
});
|
|
}
|