Skip to content

Commit

Permalink
fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed Oct 31, 2024
1 parent 13377c4 commit 4d46264
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions vc-di-tests/integration-tests/.env.local.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
NODE_ENV=local
PARACHAIN_ENDPOINT=ws://127.0.0.1:9944
ENCLAVE_ENDPOINT=ws://127.0.0.1:2000


TWITTER_AUTH_TOKEN_V2=''
DISCORD_AUTH_TOKEN=''
Expand Down
2 changes: 2 additions & 0 deletions vc-di-tests/integration-tests/.env.staging
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
NODE_ENV=staging
PARACHAIN_ENDPOINT=ws://127.0.0.1:9944
ENCLAVE_ENDPOINT=ws://127.0.0.1:2000
4 changes: 2 additions & 2 deletions vc-di-tests/integration-tests/assertion_contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ describe('Test Vc (direct request)', function () {
}
before(async () => {
context = await initIntegrationTestContext(
nodeEndpoint,
enclaveEndpoint
process.env.PARACHAIN_ENDPOINT!,
process.env.ENCLAVE_ENDPOINT!
)

teeShieldingKey = await getTeeShieldingKey(context)
Expand Down
2 changes: 0 additions & 2 deletions vc-di-tests/integration-tests/common/utils/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export async function initIntegrationTestContext(
parachainEndpoint: string,
enclaveEndpoint?: string
): Promise<IntegrationTestContext> {
console.log(`parachainEndpoint: ${parachainEndpoint}`)
console.log(`enclaveEndpoint: ${enclaveEndpoint}`)
const provider = new WsProvider(parachainEndpoint)
await cryptoWaitReady()

Expand Down

0 comments on commit 4d46264

Please sign in to comment.