From d07ee4c01bee7d277ff13088e2ebb69f7a8878f8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 23 Jul 2018 15:32:22 -0400 Subject: [PATCH] fix sequentialize tests --- spec/common/misc/sequentialize.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/common/misc/sequentialize.spec.ts b/spec/common/misc/sequentialize.spec.ts index 33c8e958e4..8bb2701cb2 100644 --- a/spec/common/misc/sequentialize.spec.ts +++ b/spec/common/misc/sequentialize.spec.ts @@ -119,8 +119,8 @@ describe('sequentialize decorator', () => { class Foo { calls = 0; - @sequentialize() - bar(a) { + @sequentialize((args) => 'bar' + args[0]) + bar(a: any) { this.calls++; return new Promise((res) => { setTimeout(() => { @@ -129,8 +129,8 @@ class Foo { }); } - @sequentialize((args) => args[0]) - baz(a) { + @sequentialize((args) => 'baz' + args[0]) + baz(a: any) { this.calls++; return new Promise((res) => { setTimeout(() => {