-
Notifications
You must be signed in to change notification settings - Fork 108
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
Cannot set property 'hrtime' of undefined #59
Comments
@rogierschouten Could this be related to #40 ? |
You are right, the breaking code was added by this merge. Doesn't this means that 1.5.0 breaks backward compatibility and should be tagged as 2.0.0 (a migration note can also probably help)? |
@gautaz This breaking change was unintentional. Needs a bugfix. |
looking into it now |
Issued PR #62 for this. I could not reproduce the issue in any way also not in a browser. However, the code was clearly not airtight so I think this would fix it. |
Here it is: #65 |
@rogierschouten Mind seeing if @gautaz test breaks for you? If so, then you have your reproducible test case. You could then merge that into #62 (just remove the built source). |
@fatso83 done |
Fixed. Will release a new version asap. |
Hello,
After migrating from lolex 1.4.0 to 1.5.0, my tests fails with this exception:
I'm using nodejs 6.2.0.
My tests use lolex this way:
Setup:
Tear down:
lolex-src.js 1.5.0 seems to assume that the context object has a key named
process
.Any idea regarding this ? Does this mean that compatibility was broken somehow ?
The text was updated successfully, but these errors were encountered: