Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent failures when happo files are misconfigured #68

Open
trotzig opened this issue Mar 13, 2019 · 0 comments
Open

Silent failures when happo files are misconfigured #68

trotzig opened this issue Mar 13, 2019 · 0 comments

Comments

@trotzig
Copy link
Contributor

trotzig commented Mar 13, 2019

In a standard happo run (no plugins), this happo test file will not cause any errors:

export default () => <div>Foo</div>;
export const bar = () => <div>Foo</div>;
export const baz = <div>Foo</div>;

(notice how baz is not a function)

The end result will contain default and bar (baz will be ignored).

If we then apply the happo-plugin-puppeteer plugin, even weirder things happen. Suddenly none of the examples from the file are rendered, and there are no errors at all - nothing in the log (even with VERBOSE=true).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant