forked from mystiq/hydrogen-web
fix MappedList test after passing params as well to updater
This commit is contained in:
parent
45cd85ead1
commit
3b7ab8f1c8
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue