Vladimir Grenaderov
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:  https://github.com/TypeStrong/ts-node/blame/master/raw/node-esm-resolve-implementation.js   Somebody change the code before publish? Because https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz contains commented line...
Have the same issue
@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 :)