question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature: presets for node and browser

See original GitHub issue

@pollyjs/preset-node @pollyjs/preset-browser

To abstract away setting up the persisters and adapters that are commonly available in each runtime. Will simplify the documentation on getting started.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sankaritancommented, Jul 22, 2019

@rahilvora Hey, we just published our preset we’re using at Spotify https://github.com/spotify/polly-jest-presets. It’s opinionated to our use-case: writing integration tests for web apps while abstracting them from the network communication.

Feel free to give it a shot and give us feedback! We may add a browser one in the future, too.

1reaction
rahilvoracommented, Aug 14, 2018

May I try this issues?

Read more comments on GitHub >

github_iconTop Results From Across the Web

babel/preset-env
babel/preset-env` is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, ...
Read more >
What is @babel/preset-env and why do I need it? - Jakob Lind
Let's look into what babel-preset-env really do, and why you need it. This is part 2 of my post about ... That is...
Read more >
Serve modern code to modern browsers for faster page loads
@babel/preset-env groups multiple JavaScript syntax features into collections and enables/disables them based on the target browsers ...
Read more >
Babel & preset-env. Compile to environments, not… - codeburst
Babel preset-env is a preset that compiles down to a minimum of ES5 ( preset-es2015 ), but can also take a browser or...
Read more >
Target browsers and Node #387 - babel/babel-preset-env
... but is there a way to specify both Node and Browser targets? I haven't tried it but here's an example: { "presets":...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found