1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

fix sequentialize tests

This commit is contained in:
Kyle Spearrin 2018-07-23 15:32:22 -04:00
parent 61d2040518
commit d07ee4c01b

View File

@ -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(() => {