node-strava/node-strava-v3

authenticator test causes other tests to fail

markstos opened this issue · 0 comments

0ee9444 attempted to address a problem where the authenticator test failed to reset the state when it's done.

Today I confirmed the problem persists with a fresh checkout from master (v 1.14.0). If I run mocha test/athlete.js, the test passes, but if I run mocha test/authenticator.js test/athlete.js, the the athlete tests fail, complaining than an access key has not been provided.

I've confirmed I'm getting an ENOENT error, so this may that I've triggered tschaub/mock-fs#203 I trigger it on v6.10.2 and v4.4.2

I tried switching to the mock-fs-require-fix module mentioned in that ticket, but it didn't fix the issue.

I tried upgrading to mock-fs@4.3.0, but that didn't fix the issue either.

I'm looking at the issue now.