UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 554 B
"use strict";import{a as o,b as r}from"../../../__chunks__/chunk-N7MHQ6JT.js";import"../../../__chunks__/chunk-SAQ2TZS4.js";import{f as d,j as e,m as c}from"../../../__chunks__/chunk-HBP5N4FR.js";var u=d(n=>{c();r();describe("decodePart",()=>{it("should decode hex to utf-8 string",()=>e(n,null,function*(){let t=o("6f6b");expect(t).toBe("ok")})),it("should return input value if not utf-8 string and not a number",()=>e(n,null,function*(){let t=o("o\xC9D");expect(t).toBe("o\xC9D")}))})});export default u(); //# sourceMappingURL=decodePart.test.js.map