-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add an npm script to perform ng test
with chrome headless
#162
Comments
Replace in your karma.conf.js the following line
This is not part of |
There are multiple ways to do this and i recommend to use puppeteer to not have a system chrome dependency. npm install puppeteer // karma.conf.js
process.env.CHROME_BIN = require('puppeteer').executablePath();
...
browsers: ['ChromeHeadless'] |
I think it is a useful edition, but it has two downsides:
So I'm closing this. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
This is a likely prerequisite for implementing a lot of the CI code we want to bake into NX. As I figure out the correct way to do this for an individual project I will bake this into NX so that everyone else can benefit from my labor. @vsavkin Do you think this is a good feature to integrate into NX?
The text was updated successfully, but these errors were encountered: