Junyong / @JJ
Junyong / @JJ
> In my project I was able to solve this problem (or at least one very similar) by replacing the call to `recomputeRowHeights()` with a call to `forceUpdateGrid()`. I have...
## Investigation The error message is [written in the view](https://github.com/crowi/crowi/blob/master/lib/views/admin/users.html#L71). ```html {% for cUser in createdUser %}{% if cUser.user %}{{ cUser.email }} {{ cUser.password }}{% else %}{{ cUser.email }} 作成失敗{%...
@NagRock I found another issue on mocking generics. Mocking a generic class or interface loses members with its generic types. For example, mongoose.Model is an generic interface ```js interface Model...
Plus, when you `console.log()` mocked a generic. It displays `null`, but actually it's not. ```js let mockedModel = mock(mongoose.Model); let model = instance(mockedModel); console.log(model); // null model === null; //...
@NagRock right, it doesn't have tests for mocking interfaces. but looks working fine for interfaces too. btw the issue i reported was about mocking generics. i think the same problem...