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

tests: use brfs when bundling smokehouse #10727

Merged
merged 1 commit into from
May 7, 2020
Merged

Conversation

connorjclark
Copy link
Collaborator

for @paulirish

we should probably have a test for this. just doing node dist/smokehouse-bundle.js would have caught this and is probably enough, given that there is already yarn test-bundle.

@@ -14,6 +14,7 @@ const smokehouseLibFilename = './lighthouse-cli/test/smokehouse/frontends/lib.js

browserify(smokehouseLibFilename, {standalone: 'Lighthouse.Smokehouse'})
.ignore('./lighthouse-cli/test/smokehouse/lighthouse-runners/cli.js')
.transform('@wardpeet/brfs', {global: true, parserOpts: {ecmaVersion: 10}})
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wardpeet 🎉

@paulirish paulirish merged commit b36b694 into master May 7, 2020
@paulirish paulirish deleted the fix-smokehouse-bundle branch May 7, 2020 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants