inventoresed
Version:
Z-Wave driver written entirely in JavaScript/TypeScript
9 lines (7 loc) • 328 B
text/typescript
import { ConfigManager } from "../packages/config/src/ConfigManager";
export default function setup(): Promise<void> {
// Regenerate the device index before all tests to avoid race conditions and
// failing tests due to an outdated index
const configManager = new ConfigManager();
return configManager.loadDeviceIndex();
}