Skip to content

Commit

Permalink
chore(deps-dev): bump eslint-plugin-mocha from 10.2.0 to 10.3.0 (#298)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump eslint-plugin-mocha from 10.2.0 to 10.3.0

Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/CHANGELOG.md)
- [Commits](lo1tuma/eslint-plugin-mocha@10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Grinblat <[email protected]>
  • Loading branch information
dependabot[bot] and perrin4869 authored Mar 1, 2024
1 parent eac6862 commit f2512c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-mocha": "^10.3.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-unicorn": "^51.0.1",
"mocha": "^10.3.0"
Expand Down
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,11 @@ describe('i18next-gettext-converter', () => {
describe('should skip empty values appropriately', () => {
it('base', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated)).then(JSON.parse))
.to.become(requireTestFile(testFiles.en.untranslated_expected)));

it('skipUntranslated', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated), {
skipUntranslated: true,
}).then(JSON.parse)).to.become(requireTestFile(testFiles.en.untranslated_skipped)));

it('skipUntranslated and keyasareference', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated), {
keyasareference: true,
skipUntranslated: true,
Expand Down

0 comments on commit f2512c1

Please sign in to comment.