Test using png mocks
When using imports with
While I understand the problem, how can i mock away the png and replace it with an identity object or something similar?
In jest i would transform it away (https://stackoverflow.com/questions/46898638/importing-images-breaks-jest-test) but i am not sure how deno would handle this
*.png files it will crash denos testing system with a warning:While I understand the problem, how can i mock away the png and replace it with an identity object or something similar?
In jest i would transform it away (https://stackoverflow.com/questions/46898638/importing-images-breaks-jest-test) but i am not sure how deno would handle this
Stack Overflow
In React components importing assets
(ex, import logo from "../../../assets/img/logo.png)
gives such error
({"Object.":function(module,exports,require,dirname,filename,global,jest){�PNG...
(ex, import logo from "../../../assets/img/logo.png)
gives such error
({"Object.":function(module,exports,require,dirname,filename,global,jest){�PNG...
