Skip to content

Commit

Permalink
Fix block library path
Browse files Browse the repository at this point in the history
  • Loading branch information
Satya Deep Maheshwari committed Sep 16, 2023
1 parent 5b410c2 commit ede34f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/visual-tests/collect-urls.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for (const index of process.env.TEST_PATHS_INDEXES.split(' ')) {
console.log(`fetching from ${indexUrl}`);
const response = await fetch(indexUrl)
const json = await response.json();
paths.push(...json.data.map((item) => {
paths.push(...json.blocks.data.map((item) => {
const url = new URL(item.path);
return url.pathname
}));
Expand Down
2 changes: 1 addition & 1 deletion .github/visual-tests/run-locally.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#export DOMAIN_BRANCH="update-from-boilerplate--vg-macktrucks-com--hlxsites.hlx.page"

export DOMAIN_MAIN="main--sunstar--hlxsites.hlx.page"
export DOMAIN_BRANCH="index--sunstar--hlxsites.hlx.page"
export DOMAIN_BRANCH="visual-tests--sunstar--hlxsites.hlx.page"

export TEST_PATHS="/"

Expand Down

0 comments on commit ede34f5

Please sign in to comment.