-
Notifications
You must be signed in to change notification settings - Fork 10
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
Chore/issue 47 test coverage develop and serve commands #670
Chore/issue 47 test coverage develop and serve commands #670
Conversation
Interesting, looks like from the repo, even things we've added decent coverage for like dev proxy and node module resolve still don't seem to push our thresholds up further even with more and more specs added. Wonder if the issue is because we are not explicitly using these plugins in our code, just dynamically loading them in a glob / loop, and thus coverage can't map usage to class name? 🤔 Will keep plugging away since its great to have this stuff tested. 🏆 Maybe see if anything changes after merging #665 ? |
Will need to move more of the This is what, since i was trying to see if I could do it all sync since I was also getting mocha errors complaining about using it('should initiate MPA routing', function(done) {
puppeteer.launch({
headless: true,
args: ['--no-sandbox']
}).then((browser) => {
browser
.newPage().then((page) => {
page
.goto(`${hostname}/`, {
waitUntil: 'networkidle0',
timeout: 0
}).then((response) => {
console.debug('loaded home page', response);
page
.content().then((contents) => {
console.debug('home page response', contents);
page.close().then(() => {
console.debug('all done????');
done();
});
});
});
});
});
}); |
Also tracking this as a follow up - #47 (comment) |
3609774
to
65dac0d
Compare
Related Issue
resolves #47
Summary of Changes
develop
andserver
(with help from enable the ability to manage processes that do not close thescientist13/gallinago#19 )includes
/excludes
to cover more codeCurrent Status
TODO
stderr
is not piping back out to the parent process on Windows thescientist13/gallinago#22develop
command testsdev proxyFinish- will defer to another PR, see Chore/issue 47 test coverage develop and serve commands #670 (comment)server
command testsexample of using graphql clients(nice to have)setTimeout
and long timeout?Discussion
Try and bump all thresholds to at least 85% / or clear out all red spots? Should try and assess what's left and make another pass at this issue in a future project, since there is a lot of good work here already.