Mark Miyashita

Results 8 comments of Mark Miyashita

Hi @streamich interesting concept. How could this be used in a testing scenario? Do you have an example of what the API would look like for the jest-plugin-fs plugin?

@streamich sorry for the late reply. How would assertions look in this case? Why can't I just use a mock on the fs object to listen for specific methods being...

This is interesting and I like where this is going! For the second example you provided, I would expect a custom matcher that achieves what you're doing. It could use...

yep! supported and encouraged: https://facebook.github.io/jest/docs/en/expect.html#expectextendmatchers Yeah, it's a callback, the example I posted above was treating the function as a callback. `() => openFileTxt()` is the same as `openFileTxt` in...

Hi @bxt, thanks for your comment. If I remember correctly, the issue comes from something like: ``` import set from 'jest-plugin-set'; describe('outer', () => { set('a', () => 1); set('b',...

oops you're right (I kept editing my responses haha). It's definitely a caching issue because of the order that the `beforeEach` are run in. I stumbled upon this issue when...

Hi @kristianmandrup, this is great feedback, thank you! I was in a rush to make this package functional for a work issue and didn't get a chance to document it...

Hi @bradical, in the logs for deploying to heroku, are you seeing the part where it installs gems? Given that it properly identifies this as a ruby buildpack, you should...