ember-cli / ember-cli/ember-exam

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

Open
#927 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
289
Forks
65
Avg merge
4m
Merged PRs (30d)
9

Description

Hello

I have added pollyjs to my project

```js
// 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.