Mark Storus
Mark Storus
I solved this by: `export NODE_ENV='development'` and then rebuilding and restarting the server
I'm also interested to hear if there's an update about this
for the sake of explicitness, here's an example of directly using a context provider and calling `.dive()`, which also doesn't work: https://codesandbox.io/s/elastic-zhukovsky-w5pjc `index.spec.js` ```jsx import React, { useContext } from...
Unfortunately [this](https://github.com/airbnb/enzyme/issues/2176#issuecomment-506549845) also results in the context value being undefined. https://codesandbox.io/s/amazing-noether-bv6u7 ```jsx import React, { useContext } from "react"; import Enzyme, { shallow } from "enzyme"; import Adapter from "enzyme-adapter-react-16";...
The workaround I'm using for now is the one described in this [article](https://medium.com/7shifts-engineering-blog/testing-usecontext-react-hook-with-enzyme-shallow-da062140fc83); wrap `useContext` in a function and then use `jest` to mock the implementation. https://codesandbox.io/s/crimson-mountain-vo7sk `MyContext.js` ```jsx import...
This would be really useful. Any update?
Answering my own question: You can pass in `normalize: false` into the `options` object to make the horizontal space not get trimmed when using the fontforge engine. Grunt-webfont sets normalize...
@lanfeng do you have a proxy specified for both scoped and non-scoped packages in your config.yaml? example: ``` packages: '*': access: $all publish: $all proxy: npmjs '@*/*': access: $all publish:...
Thank you @ianpurvis, after creating the two symlinks above I now see the `Batch Image Manipulation...` File menu item!