Skip to content

Commit

Permalink
fix(storybook): improve error message for missing '#storybook-root' e…
Browse files Browse the repository at this point in the history
…lement
  • Loading branch information
ErvinRacz committed Feb 26, 2025
1 parent 167fc58 commit acac634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/.storybook/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config: TestRunnerConfig = {
const innerHTML = await elementHandler.innerHTML();
expect(innerHTML).toMatchSnapshot();
} else {
throw new Error("elementHandler is null!");
throw new Error("The '#storybook-root' element was not found. elementHandler is null!");
}
},
};
Expand Down

0 comments on commit acac634

Please # to comment.