o1js-rsa
Version:
This repository exposes the API from the [o1js RSA example](https://github.com/o1-labs/o1js/tree/main/src/examples/crypto/rsa), making it importable and enabling RSA65537 signature verification on the Mina blockchain across various projects that utilize [
25 lines (24 loc) • 596 B
JavaScript
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
export default {
verbose: true,
preset: 'ts-jest/presets/default-esm',
testEnvironment: 'node',
globals: {
'ts-jest': {
useESM: true,
},
},
testTimeout: 1_000_000,
transform: {
'^.+\\.(t)s$': 'ts-jest',
'^.+\\.(j)s$': 'babel-jest',
},
resolver: '<rootDir>/jest-resolver.cjs',
transformIgnorePatterns: [
'<rootDir>/node_modules/(?!(tslib|o1js/node_modules/tslib))',
],
modulePathIgnorePatterns: ['<rootDir>/build/'],
moduleNameMapper: {
'^(\\.{1,2}/.+)\\.js$': '$1',
},
};