This commit is contained in:
Sergei SMART 2022-03-02 15:13:27 +10:00
parent 5ebbf81959
commit ed4e372c93
3 changed files with 1 additions and 37 deletions

View File

@ -1,14 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="true" type="mocha-javascript-test-runner">
<node-interpreter>project</node-interpreter>
<node-options />
<mocha-package>$PROJECT_DIR$/node_modules/ts-mocha</mocha-package>
<working-directory>$PROJECT_DIR$</working-directory>
<pass-parent-env>true</pass-parent-env>
<ui>bdd</ui>
<extra-mocha-options />
<test-kind>PATTERN</test-kind>
<test-pattern>$PROJECT_DIR$/test/*.spec.ts</test-pattern>
<method v="2" />
</configuration>
</component>

View File

@ -1,14 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ts-mocha" type="mocha-javascript-test-runner">
<node-interpreter>project</node-interpreter>
<node-options />
<mocha-package>$PROJECT_DIR$/node_modules/ts-mocha</mocha-package>
<working-directory>$PROJECT_DIR$</working-directory>
<pass-parent-env>true</pass-parent-env>
<ui>bdd</ui>
<extra-mocha-options />
<test-kind>PATTERN</test-kind>
<test-pattern>$PROJECT_DIR$/test/*.spec.ts</test-pattern>
<method v="2" />
</configuration>
</component>

View File

@ -1,12 +1,4 @@
import {
Element,
HashFunction,
MerkleTreeOptions,
ProofPath,
SerializedTreeState,
simpleHash,
TreeEdge,
} from './'
import { Element, HashFunction, MerkleTreeOptions, ProofPath, SerializedTreeState, simpleHash, TreeEdge } from './'
const defaultHash = (left: Element, right: Element): string => simpleHash([left, right])