Skip to content

Commit

Permalink
Fix test and bump to 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
karellm committed May 17, 2021
1 parent 394aed1 commit 3ba78f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

# 4.0.0 - latest
# 4.0.1 - latest

- Drop support for Node 10
- Update all dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Karel Ledru",
"description": "Command Line tool for i18next",
"name": "i18next-parser",
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",
"main": "dist/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions test/helpers/dotPathToHash.test.js
Expand Up @@ -11,11 +11,11 @@ describe('dotPathToHash helper function', () => {

it('ignores trailing separator', (done) => {
const { target } = dotPathToHash(
{ keyWithNamespace: 'one.' },
{ keyWithNamespace: 'one.two.' },
{},
{ separator: '.' }
)
assert.deepEqual(target, { one: '' })
assert.deepEqual(target, { one: { two: '' } })
done()
})

Expand Down

0 comments on commit 3ba78f2

Please sign in to comment.