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

Remove use of ember-get-config to get the current config #360

Closed
wants to merge 1 commit into from

Conversation

francois2metz
Copy link

We have an app with a different configuration between test and development/production. We autoclear the notification on production, but not on tests to test the content of the notification.
Once we switched to embroider, we had some issues when running tests on the /tests route in the browser. The notifications started to disappear.
As the addon use ember-get-config, it seems of always get the development/production config instead of the test one. So I switched to ember way to do the same.

@netlify
Copy link

netlify bot commented May 10, 2023

Deploy Preview for ember-cli-notifications ready!

Name Link
🔨 Latest commit 10aa770
🔍 Latest deploy log https://app.netlify.com/sites/ember-cli-notifications/deploys/645b91bd57a96b00084afe94
😎 Deploy Preview https://deploy-preview-360--ember-cli-notifications.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mansona
Copy link
Owner

mansona commented May 10, 2023

I'm not too sure about making this change because it would have other effects 🤔 the issue you're having in embroider is due to be fixed in embroider-build/embroider#1412 tho

@francois2metz
Copy link
Author

Curious to know about the side effects.
Good to know that it's an embroider bug.

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

Successfully merging this pull request may close these issues.

2 participants