vue-i18next
vue-i18next copied to clipboard
fix(types): updated TS typing and test
Solves #62
This is interesting. There are two tests that have identical contents, but one of them fails. This has been happening even before I started making any changes.
If I disable one of them (doesn't matter which one) the tests all pass.

OK, it looks like the languages property is being modified before each test, so in the second test, en exists, so lng value will not default to dev, hence dev__common__test won't show up in the second test.
Moving const i18next1 = i18next.createInstance(); inside the beforeEach method solves this problem.
@claudiocro could you please merge this PR!