Skip to content

test(locales): Add locales test #594

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

Merged
merged 2 commits into from
Oct 27, 2017
Merged

Conversation

chinesedfan
Copy link
Member

As mentioned in #478.

@andrewda andrewda mentioned this pull request Oct 27, 2017
63 tasks
@chinesedfan chinesedfan requested a review from andrewda October 27, 2017 11:02
@coveralls
Copy link

Coverage Status

Coverage remained the same at 34.504% when pulling 93a0a53 on chinesedfan:test_locales into 3714dc5 on gitpoint:master.

return ret;
}

const baseLanguage = 'en';
Copy link
Member

@machour machour Oct 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor thing: shouldn't this be read from src/config/common.js ? (coverage++)

Object.keys(languages).forEach(key => {
if (key === baseLanguage) return;

it(`${baseLanguage} vs ${key}`, () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change the label to ${key} contains the same keys as ${baseLanguage}

@coveralls
Copy link

Coverage Status

Coverage remained the same at 34.504% when pulling 93b5a25 on chinesedfan:test_locales into 3714dc5 on gitpoint:master.

@andrewda andrewda merged commit 5836450 into gitpoint:master Oct 27, 2017
@chinesedfan chinesedfan deleted the test_locales branch October 28, 2017 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants