We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7468a85 commit 24b819cCopy full SHA for 24b819c
lib/algorand.asset.params.spec.ts
@@ -0,0 +1,19 @@
1
+// #region imports
2
+import {AssetParams, AssetParamsBuilder} from "./algorand.asset.params";
3
+
4
+// #endregion imports
5
+describe("AssetParams", () => {
6
+ it("(OK) AssetParams Builder", async () => {
7
+ // #region quickStart
8
+ const assetParams = new AssetParamsBuilder()
9
+ .addTotal(1000)
10
+ .addDecimals(1)
11
+ .addAssetName('Yet Another Asset')
12
+ .addUnitName('YEET')
13
+ .get()
14
+ // #endregion quickStart
15
16
+ expect(assetParams).toBeDefined()
17
+ expect(assetParams).toBeInstanceOf(AssetParams)
18
+ })
19
+})
0 commit comments