UNPKG

frida

Version:

Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android

16 lines (12 loc) 393 B
import { expect } from "chai"; import frida from "frida"; import "mocha"; declare function gc(): void; describe("DeviceManager", function () { afterEach(gc); it("should enumerate devices", async () => { const deviceManager = frida.getDeviceManager(); const devices = await deviceManager.enumerateDevices(); expect(devices.length).to.be.above(0); }); });