Skip to content

Commit 814adf6

Browse files
committed
fix: update test:e2e script to specify test file pattern
1 parent ebbf753 commit 814adf6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.mocharc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"extension": ["ts"],
3-
"spec": "tests/e2e/**/*.ts",
43
"require": ["ts-node/register"],
54
"timeout": 1000000,
65
"node-option": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "rm -rf generated && rm -rf build && npm run generate:typechain && graph codegen && graph build --network ${NETWORK_NAME:-bellecour}",
1111
"test": "npm run test:unit && npm run test:e2e",
1212
"test:unit": "graph test unit",
13-
"test:e2e": "mocha",
13+
"test:e2e": "mocha tests/e2e/**/*.ts",
1414
"coverage": "graph test -- -c",
1515
"create": "graph create ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020}",
1616
"deploy": "graph deploy ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --version-label ${VERSION_LABEL:-bellecour/poco-v5}",

0 commit comments

Comments
 (0)