Skip to content

Commit

Permalink
fix: switch checkStorybook to use GET method
Browse files Browse the repository at this point in the history
  • Loading branch information
stramel committed Nov 12, 2023
1 parent 33f2385 commit 271c6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async function executeJestPlaywright(args: JestOptions) {
async function checkStorybook(url: any) {
try {
const headers = await getHttpHeaders(url);
const res = await fetch(url, { method: 'HEAD', headers });
const res = await fetch(url, { method: 'GET', headers });
if (res.status !== 200) throw new Error(`Unxpected status: ${res.status}`);
} catch (e) {
console.error(
Expand Down

0 comments on commit 271c6b6

Please sign in to comment.