Skip to content

Commit

Permalink
test: reduce e2e CI logs (#2646)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Apr 12, 2024
1 parent b1a4805 commit 66c64ee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion e2e/packages/contracts/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
# Anvil default private key:
PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
VITE_CHAIN_ID=31337
DEBUG=mud:*
2 changes: 1 addition & 1 deletion e2e/packages/sync-test/setup/startBrowserAndPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function startBrowserAndPage(
const page = await browser.newPage();

await page.addInitScript(() => {
window.localStorage.setItem("debug", "mud:*");
window.localStorage.setItem("debug", "mud:store-sync:createStoreSync");
});

// log uncaught errors in the browser page (browser and test consoles are separate)
Expand Down
2 changes: 1 addition & 1 deletion e2e/packages/sync-test/setup/startIndexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function startIndexer(opts: StartIndexerOptions) {
});

const env = {
DEBUG: "mud:*",
DEBUG: "mud:store-sync:createStoreSync",
PORT: opts.port.toString(),
CHAIN_ID: "31337",
RPC_HTTP_URL: opts.rpcHttpUrl,
Expand Down
2 changes: 1 addition & 1 deletion e2e/packages/test-data/generateLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function generateLogs(
cwd: "../contracts",
stdio: "pipe",
env: {
DEBUG: "mud:*",
DEBUG: "mud:store-sync:createStoreSync",
},
});
if (stderr) console.error(stderr);
Expand Down

0 comments on commit 66c64ee

Please sign in to comment.