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

fix: 🐛 Enable testing localized code #44

Merged
merged 6 commits into from
Mar 22, 2021
Merged

Conversation

corvidism
Copy link
Contributor

Currently it's not possible to test code using $Dictionary (e.g.
components with calls to this.localize()), as the dictionary is
generated during build by gulp-tasks. The new function
_generateDictionary generates this dictionary during init.

Currently it's not possible to test code using `$Dictionary` (e.g.
components with calls to `this.localize()`), as the dictionary is
generated during build by `gulp-tasks`. The new function
`_generateDictionary` generates this dictionary during init.
Move `generateDictionary()` to its own file to make it testable.
@Filipoliko Filipoliko merged commit e0afbc8 into seznam:master Mar 22, 2021
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