mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix MappedList test after passing params as well to updater
This commit is contained in:
parent
45cd85ead1
commit
3b7ab8f1c8
@ -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 New Issue
Block a user