ble-mcp-test
Version:
Complete BLE testing stack: WebSocket bridge server, MCP observability layer, and Web Bluetooth API mock. Test real BLE devices in Playwright/E2E tests without browser support.
20 lines (19 loc) • 471 B
JavaScript
import { MockBluetooth, injectWebBluetoothMock, updateMockConfig, getBundleVersion } from "./mock-bluetooth.js";
const WebBleMock = {
MockBluetooth,
injectWebBluetoothMock,
updateMockConfig,
getBundleVersion,
version: "0.5.7"
// Bundle version for cache-busting verification
};
if (typeof window !== "undefined") {
window.WebBleMock = WebBleMock;
}
export {
MockBluetooth,
WebBleMock,
getBundleVersion,
injectWebBluetoothMock,
updateMockConfig
};