sb-mig
Version:
CLI to rule the world. (and handle stuff related to Storyblok CMS)
22 lines (21 loc) • 567 B
JavaScript
/**
* Simple test function with no dependencies to verify ESM/CJS interop
*/
export function testConnection() {
return {
success: true,
message: "sb-mig api-v2 connection successful!",
timestamp: new Date().toISOString(),
};
}
/**
* Async test function to verify async imports work
*/
export async function testAsyncConnection() {
// Simulate a small delay
await new Promise((resolve) => setTimeout(resolve, 100));
return {
success: true,
message: "sb-mig api-v2 async connection successful!",
};
}