File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -627,8 +627,6 @@ export class PocketIc {
627627 *
628628 * @see [Principal](https://js.icp.build/core/latest/libs/principal/api/classes/principal/)
629629 * @see [InterfaceFactory](https://js.icp.build/core/latest/libs/candid/api/namespaces/idl/type-aliases/interfacefactory/)
630- *
631- * @example
632630 */
633631 public createDeferredActor < T extends ActorInterface < T > = ActorInterface > (
634632 interfaceFactory : IDL . InterfaceFactory ,
@@ -815,6 +813,7 @@ export class PocketIc {
815813 *
816814 * await pic.tearDown();
817815 * await picServer.stop();
816+ * ```
818817 */
819818 public async getControllers ( canisterId : Principal ) : Promise < Principal [ ] > {
820819 return await this . client . getControllers ( { canisterId } ) ;
@@ -1283,7 +1282,7 @@ export class PocketIc {
12831282 * const picServer = await PocketIcServer.start();
12841283 * const pic = await PocketIc.create(picServer.getUrl());
12851284 *
1286- * const newCyclesBalance = await pic.addCycles(canisterId, 10_000_000);
1285+ * const newCyclesBalance = await pic.addCycles(canisterId, BigInt( 10_000_000) );
12871286 *
12881287 * await pic.tearDown();
12891288 * await picServer.stop();
You can’t perform that action at this time.
0 commit comments