Vladimir Grenaderov

Results 47 comments of Vladimir Grenaderov

@jorgenpt Yep, in 2.0.1 regular screenshot doesn't work too. After upgrade to 2.0.2, "upload from clipboard" works as expected. But anyway, no reaction to hotkeys (screenshots correctly placed in desktop...

@jorgenpt file-based upload first: "-[GrabBoxAppDelegate eventForPaths:flags:ids:]: Found file 'Снимок экрана 2017-08-21 в 0.27.50.png', but does not match 'Screen Shot * at *.*'" So there is simple localization problem. May be...

@cspotcode , node-esm-resolve-implementation doesn't support '--experimental-specifier-resolution=node' flag specified trough NODE_OPTIONS env variable because it looks into process.execArgv. Issue can be fixed via '-r module-which-modifies-process-exec-argv.js", but it's really ugly hack.

@cspotcode looks a bit confusing: code from my node_modules (latest version, 8.10.2) - line commented: ![image](https://user-images.githubusercontent.com/20106607/86518838-42219100-be3d-11ea-8406-1031ed5e382c.png) https://github.com/TypeStrong/ts-node/blame/master/raw/node-esm-resolve-implementation.js ![image](https://user-images.githubusercontent.com/20106607/86518851-6a10f480-be3d-11ea-8f0f-bfe7ed97b474.png) ![image](https://user-images.githubusercontent.com/20106607/86518861-79903d80-be3d-11ea-9bdd-7a3278c76a31.png) Somebody change the code before publish? Because https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz contains commented line...

@cyberwombat just call 'code = await import(...)' before 'jset.unstable_mockModule(...)'.

> Got it. I just tried the await import at top on sample repo and that didn't work either. Looks like it's excepted result. Let's modify main.js a bit: ```...

Don't see anything related to source modification in esmock code, except tricks with imports / exports (which is not enough for your case).

Just switch to lint-staged.config.js config, and return only one instance of cy:tests after analysing filenames passed to your code.

@jakebailey I think the second one is the best solution, ~~with marking resolvewithplus as optional peer dependency~~, thx! ps it should work :)