Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "apothecary", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Your local friendly storekeeper", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,1 +12,10 @@ import split from '../src/split'; | ||
}); | ||
test('it fills in missing keys along the path', () => { | ||
const store = initialize({}); | ||
const next = split((page = 7) => page + 1, 'pagination', 'page'); | ||
const state = store.dispatch(next); | ||
expect(state.pagination.page).toBe(8); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
122017
12
136