Closed SimonDegraeve closed 9 years ago
I will look at those tests later. Need to catch a flight now.
Sounds great – safe travels
On Wed, Jul 29, 2015, 1:47 AM Simon Degraeve notifications@github.com wrote:
I will look at those tests later. Need to catch a flight now.
— Reply to this email directly or view it on GitHub https://github.com/hapijs/confidence/pull/39#issuecomment-125849986.
Back on the ground ;-) I added some tests, it should be ready to be merged.
PS: Is there a way to test on travis from the local repo before commit? Because the tests have passed on my computer, and turns out they failed in travis...
I'd suggest making sure you have the latest version of lab
.
lab 5.14.0 (latest) node 0.12.7 (latest)
And when running the tests, the package doesn't use a global version of lab anyway it is the one from package.json
which is the latest...
So I guess there is no magic trick that I am not aware of like pre-test on remote
before commit
...
I mean I know you can use git hooks
for that, but I am just curious is there is something else I don't know.
@SimonDegraeve there is not a way to test on travis, per se. If I had to guess, you were testing on a single version of node and it was failing on the other?
either way - great work!
great idea! there are some issues with the tests, however. Could you look into it?
It may also be worthwhile to do a check to ensure its a number, and not a string