Closed apiv closed 8 years ago
Think it would be possible to write some tests? Or will it be too difficult?
I was having trouble coming up with tests to write, as I don't think there is an 'example' github enterprise server we can try to connect to. The only thing I can think of would be to ensure that the environment variables set the appConfig object in ./webapp.js.
Any ideas?
Also, it looks like my checks failed on travis, but they are passing locally. Should I try re-running?
Was thinking of setting the options, and then passing in mock data to see if it still works.
I'll give that a shot.
I haven't been able to find a way to test against different set of environment variables, short of doing some hacky things like manually invalidating the require.cache...
It may be too difficult to test around this, but the existing specs do protect the existing functionality.
I'll try to release a new version tomorrow.
Great, thanks!
No octonode yet, wanted to get the fixes in first, so that those of us on enterprise can fully use Strider-CD.