fix MappedList test after passing params as well to updater

This commit is contained in:
Bruno Windels 2019-07-29 20:02:42 +02:00
parent 45cd85ead1
commit 3b7ab8f1c8

View file

@ -94,7 +94,7 @@ export async function tests() {
const mapped = new MappedList( const mapped = new MappedList(
source, source,
n => {return {n: n*n};}, n => {return {n: n*n};},
(o, n) => o.m = n*n (o, p, n) => o.m = n*n
); );
let fired = false; let fired = false;
const unsubscribe = mapped.subscribe({ const unsubscribe = mapped.subscribe({