-
Notifications
You must be signed in to change notification settings - Fork 135
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
add tests for downloading empty file/dir to fs #70
Conversation
+1 nice |
var drive = hyperdrive(memdb()) | ||
var driveClone = hyperdrive(memdb()) | ||
var tmp = path.join(os.tmpdir(), 'hyperdrive-test') | ||
mkdirp.sync(tmp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need mkdirp for that, os.tmpdir should already exist
after the comments, +1, great work! |
5ecb112
to
84b86e2
Compare
Thanks @juliangruber, updated with your comments. |
+1! |
Do we want to make this as todo test and merge? It seems we need to either have raf or additional storage api to support mkdir. |
well marking as todo requires tape-testing/tape#254 |
@clkao use tape.skip and add a todo comment for now. mkdir will be a hyperdrive option where you can pass a mkdir handler in hyperdrive |
84b86e2
to
cb28891
Compare
@mafintosh changed the tests to skip. |
Adds (currently failing) tests for downloading empty file/directory to file system. #28