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:2015) 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/primitives.test.ts (5.032 s) bool inside circuit toField ✓ should convert false to Field element 0 (900 ms) ✓ should throw when false toString is compared to Field element other than 0 (801 ms) ✓ should convert true to Field element 1 (1 ms) ✓ should throw when true toField is compared to Field element other than 1 (3 ms) toFields ✓ should return an array of Fields (1 ms) and ✓ true "and" true should return true (1 ms) ✓ should throw if true "and" true is compared to false (8 ms) ✓ false "and" false should return false (2 ms) ✓ should throw if false "and" false is compared to true (3 ms) ✓ false "and" true should return false (2 ms) ✓ should throw if false "and" true is compared to true (2 ms) not ✓ should return true (1 ms) ✓ should return a new bool that is the negation of the input (2 ms) ✓ should throw if input.not() is compared to input (1 ms) or ✓ true "or" true should return true (1 ms) ✓ should throw if true "or" true is compared to false (2 ms) ✓ false "or" false should return false (1 ms) ✓ should throw if false "or" false is compared to true (3 ms) ✓ false "or" true should return true (1 ms) assertEquals ✓ should not throw on true "assertEqual" true (2 ms) ✓ should throw on true "assertEquals" false (3 ms) equals ✓ should not throw on true "equals" true (1 ms) ✓ should throw on true "equals" false (4 ms) outside circuit toField ✓ should convert false to Field element 0 (1 ms) ✓ should throw when false toField is compared to Field element other than 0 (5 ms) ✓ should convert true to Field element 1 ✓ should throw when true toField is compared to Field element other than 1 (2 ms) toFields ✓ should return an array of Fields and ✓ true "and" true should return true (1 ms) ✓ should throw if true "and" true is compared to false (1 ms) ✓ false "and" false should return false (1 ms) ✓ should throw if false "and" false is compared to true (2 ms) ✓ false "and" true should return false ✓ should throw if false "and" true is compared to true (2 ms) not ✓ should return a new bool that is the negation of the input ✓ should throw if input.not() is compared to input or ✓ true "or" true should return true ✓ should throw if true "or" true is compared to false (6 ms) ✓ false "or" false should return false (1 ms) ✓ should throw if false "or" false is compared to true (1 ms) ✓ false "or" true should return true toBoolean ✓ should return a true javascript boolean (1 ms) ✓ should return a false javascript boolean Test Suites: 1 passed, 1 total Tests: 43 passed, 43 total Snapshots: 0 total Time: 5.088 s, estimated 7 s Ran all test suites matching /src\/lib\/provable\/test\/primitives.test.ts/i. [ perf record: Woken up 312 times to write data ] [ perf record: Captured and wrote 79.399 MB src/lib/provable/test/primitives.test.ts.perf.data (9803 samples) ]