Skip to content

Commit 3ba78f2

Browse files
committed
Fix test and bump to 4.0.1
1 parent 394aed1 commit 3ba78f2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
# 4.0.0 - latest
3+
# 4.0.1 - latest
44

55
- Drop support for Node 10
66
- Update all dependencies

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Karel Ledru",
33
"description": "Command Line tool for i18next",
44
"name": "i18next-parser",
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"license": "MIT",
77
"main": "dist/index.js",
88
"bin": {

test/helpers/dotPathToHash.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ describe('dotPathToHash helper function', () => {
1111

1212
it('ignores trailing separator', (done) => {
1313
const { target } = dotPathToHash(
14-
{ keyWithNamespace: 'one.' },
14+
{ keyWithNamespace: 'one.two.' },
1515
{},
1616
{ separator: '.' }
1717
)
18-
assert.deepEqual(target, { one: '' })
18+
assert.deepEqual(target, { one: { two: '' } })
1919
done()
2020
})
2121

0 commit comments

Comments
 (0)