From 3b7ab8f1c8c30d52d67b22a8effaef536bb64fa0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 29 Jul 2019 20:02:42 +0200 Subject: [PATCH] fix MappedList test after passing params as well to updater --- src/observable/list/MappedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable/list/MappedList.js b/src/observable/list/MappedList.js index 75c220fa..a2adcdbd 100644 --- a/src/observable/list/MappedList.js +++ b/src/observable/list/MappedList.js @@ -94,7 +94,7 @@ export async function tests() { const mapped = new MappedList( source, n => {return {n: n*n};}, - (o, n) => o.m = n*n + (o, p, n) => o.m = n*n ); let fired = false; const unsubscribe = mapped.subscribe({