Skip to content

Commit

Permalink
Merge pull request #385 from stramel/patch-1
Browse files Browse the repository at this point in the history
fix: switch `checkStorybook` to use `GET` method
  • Loading branch information
yannbf committed Nov 16, 2023
2 parents e44e844 + 271c6b6 commit 5f9b1eb
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 5f9b1eb

Please sign in to comment.