We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using('<path>').update(...) crashes with TypeError: updater.apply is not a function
using('<path>').update(...)
TypeError: updater.apply is not a function
Version : 0.2.0
Call updater with the '<path>' argument.
'<path>'
'<path>' argument is used as the updater.
const input = { pages: [1, 2, 3], selectedPages: [4, 5, 6], } const output = using('pages').update(input, 'selectedPages', (selectedPages, pages) => pages.map(page => page * 2)) expect(output).toEqual({ pages: [1, 2, 3], selectedPages: [2, 4, 6], })
The text was updated successfully, but these errors were encountered:
🐛 Add test case for bug #67
bf4bad6
9fac976
🐛 fix #67
f9c8724
d28c72f
nlepage
No branches or pull requests
Description
using('<path>').update(...)
crashes withTypeError: updater.apply is not a function
Version : 0.2.0
Expected behavior
Call updater with the
'<path>'
argument.Actual behavior
'<path>'
argument is used as the updater.How to reproduce
The text was updated successfully, but these errors were encountered: