Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environment test not set when configuring polly without --environment=test #927

Open
oliverlj opened this issue May 18, 2022 · 0 comments
Open

Comments

@oliverlj
Copy link

oliverlj commented May 18, 2022

Hello

I have added pollyjs to my project

// config/polly.js
module.exports = function (env) {
  return {
    // Addon Configuration Options
    enabled: env === 'test',
  };
};

but it is not enabled. I have to put --environment=test in the command line

yarn ember test --server works good
yarn ember exam --environment=test --server --random works good
yarn ember exam --server --random failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant