Closed bowerscd closed 5 years ago
Oh neat. I'll look at this asap. Thank you.
For the remainder of the tests, the easy-but-tideous way to make them compatible with CLI is to make an abstraction layer for the browser, which should mock the functions if the environment is node vs a browser.
It's a lot of effort, though, and there's a much higher change of a breaking change without regression tests.
Great contribution!
Although all these whitespace changes are a little worrisome
The white space errors are due to the ‘beautify’ check of the CI. These files were indented with tabs, not spaces.
They are a consequence of running js-beautify on the files (see ./ci/beautify.sh)
Otherwise the CI definition wouldn’t allow me to integrate and merge the changes.
Oh bugger. develop
is the main branch. I hardly bother with master. We can get master back on track, but this PR should be made into develop
@bowerscd I noticed that it changed tabs into spaces :P but some time ago when I started to contribute to this project @subdavis mentioned he chose to use tabs, for better or for worse. Has your mind changed now @subdavis? :smile:
As for the whole thing, I was researching just a day ago CircleCI and Travis to implement for the puppetter tests I'm writing. Great to see you took the time to write a nice pipeline conf. Thanks
Regarding the tabs/spaces change, @subdavis if you want to keep them as tabs it's an easy change and a dotfile to ensure that it is consistent across js-beautify.
Closing per @subdavis ' comment:
Oh bugger. develop is the main branch. I hardly bother with master. We can get master back on track, but this PR should be made into develop
See #241 for the pull into develop
Solves #16 .
Requires: