Skip to content

Commit

Permalink
add mocha and jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Nov 15, 2023
1 parent 46757ae commit 723c6cb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion account-compression/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"@solana/prettier-config-solana": "^0.0.2",
"@types/bn.js": "^5.1.1",
"@types/chai": "^4.3.0",
"@types/jest": "^29.0.0",
"@types/jest": "^29.5.8",
"@types/mocha": "^10.0.4",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
Expand Down
1 change: 0 additions & 1 deletion account-compression/sdk/tests/accountCompression.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
import { hash, MerkleTree } from '../src/merkle-tree';
import { createTreeOnChain, execute } from './utils';

// eslint-disable-next-line no-empty
describe('Account Compression', () => {
// Configure the client to use the local cluster.
let offChainTree: MerkleTree;
Expand Down
3 changes: 2 additions & 1 deletion account-compression/sdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"declaration": true,
"declarationMap": true,
"target": "ES2016",
"module": "CommonJS"
"module": "CommonJS",
"types": ["jest", "node"]
}
}
13 changes: 9 additions & 4 deletions account-compression/sdk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1042,10 +1042,10 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/jest@^29.0.0":
version "29.0.0"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.0.0.tgz#bc66835bf6b09d6a47e22c21d7f5b82692e60e72"
integrity sha512-X6Zjz3WO4cT39Gkl0lZ2baFRaEMqJl5NC1OjElkwtNzAlbkr2K/WJXkBkH5VP0zx4Hgsd2TZYdOEfvp2Dxia+Q==
"@types/jest@^29.5.8":
version "29.5.8"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.8.tgz#ed5c256fe2bc7c38b1915ee5ef1ff24a3427e120"
integrity sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g==
dependencies:
expect "^29.0.0"
pretty-format "^29.0.0"
Expand All @@ -1060,6 +1060,11 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==

"@types/mocha@^10.0.4":
version "10.0.4"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.4.tgz#b5331955ebca216604691fd4fcd2dbdc2bd559a4"
integrity sha512-xKU7bUjiFTIttpWaIZ9qvgg+22O1nmbA+HRxdlR+u6TWsGfmFdXrheJoK4fFxrHNVIOBDvDNKZG+LYBpMHpX3w==

"@types/node-fetch@^2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.2.tgz#d1a9c5fd049d9415dce61571557104dec3ec81da"
Expand Down

0 comments on commit 723c6cb

Please sign in to comment.