ts-jest[ts-jest-transformer] (WARN) Define `ts-jest` config under `globals` is deprecated. Please do transform: { : ['ts-jest', { /* ts-jest config goes here in Jest */ }], }, See more at https://kulshekhar.github.io/ts-jest/docs/getting-started/presets#advanced (node:1074) ExperimentalWarning: VM Modules is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) PASS src/lib/provable/test/scalar.test.ts scalar scalar Inside circuit toFields ✓ should return an array of Fields (872 ms) toFields / fromFields ✓ should return the same (2 ms) fromBits ✓ should return a Scalar (3 ms) toScalarField / fromScalarField ✓ should return the same (10 ms) random ✓ two different calls should be different (2 ms) Outside circuit toFields / fromFields ✓ roundtrip works fromBits ✓ should return a scalar with the same bigint value (1 ms) random ✓ two different calls should be different toJSON/fromJSON ✓ fromJSON('1') should be 1 ✓ fromJSON('2^32-1') should be 2^32-1 (1 ms) ✓ fromJSON(1) should be 1 ✓ fromJSON(0n) should be 1 (1 ms) neg ✓ neg(1)=-1 ✓ neg(-1)=1 (1 ms) ✓ neg(0)=0 add ✓ 1+1=2 (1 ms) ✓ 5000+5000=10000 ✓ ((2^64/2)+(2^64/2)) adds to 2^64 (4 ms) sub ✓ 1-1=0 ✓ 10000-5000=5000 (1 ms) ✓ 0-1=-1 ✓ 1-(-1)=2 mul ✓ 1x2=2 (1 ms) ✓ 1x0=0 ✓ 1000x1000=1000000 ✓ (2^64-1)x1=(2^64-1) (1 ms) div ✓ 2/1=2 ✓ 0/1=0 (1 ms) ✓ 2000/1000=2 ✓ (2^64-1)/1=(2^64-1) Test Suites: 1 passed, 1 total Tests: 30 passed, 30 total Snapshots: 0 total Time: 4.066 s, estimated 6 s Ran all test suites matching /src\/lib\/provable\/test\/scalar.test.ts/i. [ perf record: Woken up 279 times to write data ] [ perf record: Captured and wrote 72.587 MB src/lib/provable/test/scalar.test.ts.perf.data (8963 samples) ]