Skip to content

Commit 2ee0d8b

Browse files
committed
style(proof): format code with prettier
1 parent 246801e commit 2ee0d8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/proof/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ When using the Semaphore proof library in Node.js environments, especially in te
126126
If you create a curve instance using `getCurveFromName("bn128")`, you should call its `terminate()` method when you are done with it. For example:
127127

128128
```typescript
129-
import { getCurveFromName } from "ffjavascript";
129+
import { getCurveFromName } from "ffjavascript"
130130

131-
let curve;
131+
let curve
132132
beforeAll(async () => {
133-
curve = await getCurveFromName("bn128");
134-
});
133+
curve = await getCurveFromName("bn128")
134+
})
135135
afterAll(async () => {
136-
await curve.terminate();
137-
});
136+
await curve.terminate()
137+
})
138138
```
139139

140140
This ensures that all resources are properly released and Node.js can exit cleanly after your script or tests finish.

0 commit comments

Comments
 (0)