Skip to content

Commit

Permalink
fix: Integrate Apollo in Single branch. (hyperledger#94)
Browse files Browse the repository at this point in the history
Co-authored-by: Curtish <ch@curtish.me>
Co-authored-by: Allain Magyar <allain.magyar@iohk.io>
  • Loading branch information
3 people authored Oct 17, 2023
1 parent d57be19 commit bdc26e6
Show file tree
Hide file tree
Showing 39 changed files with 2,563 additions and 4,599 deletions.
8 changes: 7 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
"request": "launch",
"name": "TEST",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": ["--colors", "--maxWorkers", "1"],
"args": [
"--colors",
"--workerThreads",
"--maxWorkers",
"1",
"tests/apollo/Apollo.test.ts"
],
"skipFiles": [
"${workspaceRoot}/../../node_modules/**/*",
"<node_internals>/**/*"
Expand Down
7 changes: 5 additions & 2 deletions demos/browser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions integration-tests/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"sql.js": "^1.8.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"devDependencies": {
"esm": "^3.2.25"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ import { PrismAgentWorkflow } from "../src/PrismAgentWorkflow"
import axios from "axios"
import { Utils } from "../../Utils"

import nodeCrypto from "crypto";

Object.defineProperty(globalThis, "crypto", {
value: {
getRandomValues: (arr:any) => nodeCrypto.getRandomValues(arr),
},
});


export let axiosInstance = axios.create({
baseURL: EnvironmentVariables.agentUrl,
timeout: 10000,
Expand Down
5 changes: 5 additions & 0 deletions integration-tests/e2e-tests/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,11 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==

esm@^3.2.25:
version "3.2.25"
resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10"
integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==

extsprintf@^1.2.0:
version "1.4.1"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07"
Expand Down
Loading

0 comments on commit bdc26e6

Please sign in to comment.