From c98495d07684f2255e671a4a5671f8fe7ca6480b Mon Sep 17 00:00:00 2001 From: cedoor Date: Wed, 9 Feb 2022 19:58:22 +0100 Subject: [PATCH] chore: add jest ignore comment for zk-protocol file Former-commit-id: ae475e7b584e4e5dc3686093feccc86da563944e [formerly a76f786f15541f7e1bfc610750b0cbda681b0147] [formerly 0a753ff4f24030b976dcc7cfd0c32b3fb31a21e4 [formerly b7b22b41d3765335b417466de7465bd3aff2d2a6]] [formerly d0a3bcd5cde4d1705d09d86e573d2f5f8fbe6359 [formerly afec78102a82bcdddc6673baf1baa7823c053526] [formerly e073d1a11f0c39c495d155e7e4168000699af34e [formerly 40539f016838f0f695990571a8e2af07b84b08f2]]] Former-commit-id: 831ad22d183b2cc200cb48da8554dec9060b869f [formerly c0a14343d08f3eccc33702f4586954f191c68b9e] [formerly 73c40e50e926793dcf966879a6de296cc1b7d55f [formerly 7afe0fd2068c21b0e05e057eb9cee10481cea99f]] Former-commit-id: c6e112b4e07fc46bce7441626cfa222272c85909 [formerly 31c586475d4c6c76c15a4398dc4757c836ba5ee7] Former-commit-id: 600e68dd8a9d6981742ec924a5e11c0f046de3fa --- jest.config.ts | 7 +------ packages/protocols/src/zk-protocol.ts | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index e443a12..36891a1 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -15,12 +15,7 @@ const projects: any = fs export default async (): Promise => ({ projects, verbose: true, - collectCoverageFrom: [ - "/src/**/*.ts", - "!/src/**/index.ts", - "!/src/**/*.d.ts", - "!/src/zk-protocol.ts" - ], + collectCoverageFrom: ["/src/**/*.ts", "!/src/**/index.ts", "!/src/**/*.d.ts"], coverageThreshold: { global: { branches: 90, diff --git a/packages/protocols/src/zk-protocol.ts b/packages/protocols/src/zk-protocol.ts index ce33cbe..ec8d36f 100644 --- a/packages/protocols/src/zk-protocol.ts +++ b/packages/protocols/src/zk-protocol.ts @@ -1,3 +1,4 @@ +/* istanbul ignore file */ import { groth16 } from "snarkjs" import { FullProof, SolidityProof } from "./types"