Skip to content

Commit

Permalink
Fixed functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasFlamel1 committed Jan 22, 2023
1 parent dd68a26 commit 6dc4fb5
Show file tree
Hide file tree
Showing 8 changed files with 3,792 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/functional_tests/age.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Requires
const Common = require("./common.js");
const crypto = require("crypto");
const crypto = require("node:crypto")["webcrypto"];
const Ed25519 = require("./Ed25519-0.0.22.js");
const X25519 = require("./X25519-0.0.23.js");
const chacha = require("./ChaCha-2.1.0.js");
Expand Down
4 changes: 2 additions & 2 deletions test/functional_tests/crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@


// Requires
const crypto = require("crypto");
const crypto = require("node:crypto")["webcrypto"];
const Blake2b = require("./BLAKE2b-0.0.2.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.27.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.28.js");
const BigNumber = require("./bignumber.js-9.0.2.js");
const Common = require("./common.js");
const Identifier = require("./identifier.js");
Expand Down
2 changes: 1 addition & 1 deletion test/functional_tests/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const crypto = require("node:crypto")["webcrypto"];
const Blake2b = require("./BLAKE2b-0.0.2.js");
const Ed25519 = require("./Ed25519-0.0.22.js");
const X25519 = require("./X25519-0.0.23.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.27.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.28.js");
const BigNumber = require("./bignumber.js-9.0.2.js");
const sha256 = require("./js-sha256-0.9.0.js");
const Common = require("./common.js");
Expand Down
4 changes: 2 additions & 2 deletions test/functional_tests/mqs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


// Requires
const crypto = require("crypto");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.27.js");
const crypto = require("node:crypto")["webcrypto"];
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.28.js");
const chacha = require("./ChaCha-2.1.0.js");
const Common = require("./common.js");
const Consensus = require("./consensus.js");
Expand Down
2 changes: 1 addition & 1 deletion test/functional_tests/new_proof_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Requires
const Blake2b = require("./BLAKE2b-0.0.2.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.27.js");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.28.js");
const BigNumber = require("./bignumber.js-9.0.2.js");
const Common = require("./common.js");
const Identifier = require("./identifier.js");
Expand Down
3,782 changes: 3,782 additions & 0 deletions test/functional_tests/secp256k1-zkp-0.0.28.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/functional_tests/seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


// Requires
const crypto = require("crypto");
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.27.js");
const crypto = require("node:crypto")["webcrypto"];
const Secp256k1Zkp = require("./secp256k1-zkp-0.0.28.js");
const Common = require("./common.js");
const Identifier = require("./identifier.js");
const Crypto = require("./crypto.js");
Expand Down
2 changes: 1 addition & 1 deletion test/functional_tests/slatepack.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


// Requires
const crypto = require("crypto");
const crypto = require("node:crypto")["webcrypto"];
const X25519 = require("./X25519-0.0.23.js");
const bech32 = require("./bech32-2.0.0.js");
const chacha = require("./ChaCha-2.1.0.js");
Expand Down

0 comments on commit 6dc4fb5

Please sign in to comment.