4 ms·
> For example, how would you test your renderer? Oh, that's easy. npm install --save-dev mock-opengl
by bitwize 9y ago
> For example, how would you test your renderer?
Oh, that's easy.
npm install --save-dev mock-opengl
- bjpbakker 9y agoMock testing your rendering only assets that you call the methods you expect in your tests. It does not assert rendering in any way.