UNPKG

quamvoluptatem

Version:
16 lines (11 loc) 305 B
import JsConfuser from "../../../src/index"; it("should work", async () => { var output = await JsConfuser(`input("Hello World")`, { target: "node", stringCompression: true, }); var value, input = (x) => (value = x); eval(output); expect(value).toStrictEqual("Hello World"); });