Skip to content

Commit b0dbad0

Browse files
committed
fix: update integration test structure and add .env.template file
1 parent 874e4c0 commit b0dbad0

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.env.template

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# The name of the network (e.g., mainnet, arbitrum, etc.)
2+
NETWORK_NAME=...
3+
4+
# The URL of the Graph Node endpoint for self-hosted Graph Node
5+
GRAPHNODE_URL=...
6+
7+
# The URL of the IPFS endpoint for self-hosted IPFS
8+
IPFS_URL=...
9+
10+
# The version label for the deployment (e.g., v1.0.0)
11+
VERSION_LABEL=...

.mocharc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extension": ["ts"],
3-
"spec": "itest/**/*.ts",
3+
"spec": "tests/e2e/**/*.ts",
44
"require": ["ts-node/register"],
55
"timeout": 1000000,
66
"node-option": [
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { InMemoryCache } from '@apollo/client/cache';
22
import { ApolloClient, gql } from '@apollo/client/core';
33
import { equal } from 'assert';
44
import { JsonRpcProvider, Wallet, ZeroHash } from 'ethers';
5-
import { AppRegistry__factory, IexecInterfaceToken__factory } from '../generated/typechain';
6-
import config from '../networks.json' with { type: 'json' };
5+
import { AppRegistry__factory, IexecInterfaceToken__factory } from '../../generated/typechain';
6+
import config from '../../networks.json' with { type: 'json' };
77

88
const APIURL = `http://localhost:8000/subgraphs/name/${process.env.NETWORK_NAME}/poco`;
99
const client = new ApolloClient({

0 commit comments

Comments
 (0)