Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Nov 6, 2024
1 parent 0fbc3df commit 10eee56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/app/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const IS_CI = process.env.CI;

export const playwrightConfig: PlaywrightTestConfig = {
workers: 1,
retries: 1,
retries: IS_CI ? 1 : 0,
testMatch: join(__dirname, './playwright/**/*.test.ts'),
testDir: join(__dirname, './playwright/'),
outputDir: join(__dirname, './playwright-results/'),
Expand All @@ -30,6 +30,7 @@ export const playwrightConfig: PlaywrightTestConfig = {
trace: 'on-first-retry',
actionTimeout: 5000,
screenshot: 'only-on-failure',
headless: false,
},
// ignore lock test because it takes too long and it will be tested in a separate config
testIgnore: [join(__dirname, './playwright/crx/lock.test.ts')],
Expand Down
4 changes: 3 additions & 1 deletion packages/app/src/systems/Asset/cache/AssetsCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export class AssetsCache {
timeout,
]);
if (response instanceof Response) {
return response.json();
const jsonResponse = await response.json();
return jsonResponse;
}
} catch (_e: unknown) {}
}
Expand Down Expand Up @@ -78,6 +79,7 @@ export class AssetsCache {
endpoint.url,
assetId
);
console.log('asd assetFromIndexer', assetFromIndexer);
if (!assetFromIndexer) return;

const asset = {
Expand Down

0 comments on commit 10eee56

Please sign in to comment.