{
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "Literal",
        "value": "use strict",
        "raw": "\"use strict\"",
        "range": [
          0,
          12
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 12
          }
        }
      },
      "range": [
        0,
        13
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 13
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "chai_1",
            "range": [
              18,
              24
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 4
              },
              "end": {
                "line": 2,
                "column": 10
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "Identifier",
              "name": "require",
              "range": [
                27,
                34
              ],
              "loc": {
                "start": {
                  "line": 2,
                  "column": 13
                },
                "end": {
                  "line": 2,
                  "column": 20
                }
              }
            },
            "arguments": [
              {
                "type": "Literal",
                "value": "chai",
                "raw": "'chai'",
                "range": [
                  35,
                  41
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 21
                  },
                  "end": {
                    "line": 2,
                    "column": 27
                  }
                }
              }
            ],
            "range": [
              27,
              42
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 13
              },
              "end": {
                "line": 2,
                "column": 28
              }
            }
          },
          "range": [
            18,
            42
          ],
          "loc": {
            "start": {
              "line": 2,
              "column": 4
            },
            "end": {
              "line": 2,
              "column": 28
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        14,
        43
      ],
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 29
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "Rx",
            "range": [
              48,
              50
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 4
              },
              "end": {
                "line": 3,
                "column": 6
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "Identifier",
              "name": "require",
              "range": [
                53,
                60
              ],
              "loc": {
                "start": {
                  "line": 3,
                  "column": 9
                },
                "end": {
                  "line": 3,
                  "column": 16
                }
              }
            },
            "arguments": [
              {
                "type": "Literal",
                "value": "../../dist/cjs/Rx",
                "raw": "'../../dist/cjs/Rx'",
                "range": [
                  61,
                  80
                ],
                "loc": {
                  "start": {
                    "line": 3,
                    "column": 17
                  },
                  "end": {
                    "line": 3,
                    "column": 36
                  }
                }
              }
            ],
            "range": [
              53,
              81
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 9
              },
              "end": {
                "line": 3,
                "column": 37
              }
            }
          },
          "range": [
            48,
            81
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 4
            },
            "end": {
              "line": 3,
              "column": 37
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        44,
        82
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 38
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "Observable",
            "range": [
              87,
              97
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 4
              },
              "end": {
                "line": 4,
                "column": 14
              }
            }
          },
          "init": {
            "type": "MemberExpression",
            "computed": false,
            "object": {
              "type": "Identifier",
              "name": "Rx",
              "range": [
                100,
                102
              ],
              "loc": {
                "start": {
                  "line": 4,
                  "column": 17
                },
                "end": {
                  "line": 4,
                  "column": 19
                }
              }
            },
            "property": {
              "type": "Identifier",
              "name": "Observable",
              "range": [
                103,
                113
              ],
              "loc": {
                "start": {
                  "line": 4,
                  "column": 20
                },
                "end": {
                  "line": 4,
                  "column": 30
                }
              }
            },
            "range": [
              100,
              113
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 17
              },
              "end": {
                "line": 4,
                "column": 30
              }
            }
          },
          "range": [
            87,
            113
          ],
          "loc": {
            "start": {
              "line": 4,
              "column": 4
            },
            "end": {
              "line": 4,
              "column": 30
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        83,
        114
      ],
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 31
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "* @test {fromEventPattern} ",
          "range": [
            115,
            146
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 31
            }
          }
        }
      ]
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "describe",
          "range": [
            147,
            155
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 0
            },
            "end": {
              "line": 6,
              "column": 8
            }
          }
        },
        "arguments": [
          {
            "type": "Literal",
            "value": "Observable.fromEventPattern",
            "raw": "'Observable.fromEventPattern'",
            "range": [
              156,
              185
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 9
              },
              "end": {
                "line": 6,
                "column": 38
              }
            }
          },
          {
            "type": "FunctionExpression",
            "id": null,
            "params": [],
            "body": {
              "type": "BlockStatement",
              "body": [
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "CallExpression",
                      "callee": {
                        "type": "Identifier",
                        "name": "asDiagram",
                        "range": [
                          205,
                          214
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 4
                          },
                          "end": {
                            "line": 7,
                            "column": 13
                          }
                        }
                      },
                      "arguments": [
                        {
                          "type": "Literal",
                          "value": "fromEventPattern(addHandler, removeHandler)",
                          "raw": "'fromEventPattern(addHandler, removeHandler)'",
                          "range": [
                            215,
                            260
                          ],
                          "loc": {
                            "start": {
                              "line": 7,
                              "column": 14
                            },
                            "end": {
                              "line": 7,
                              "column": 59
                            }
                          }
                        }
                      ],
                      "range": [
                        205,
                        261
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 4
                        },
                        "end": {
                          "line": 7,
                          "column": 60
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should create an observable from the handler API",
                        "raw": "'should create an observable from the handler API'",
                        "range": [
                          262,
                          312
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 61
                          },
                          "end": {
                            "line": 7,
                            "column": 111
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "FunctionDeclaration",
                              "id": {
                                "type": "Identifier",
                                "name": "addHandler",
                                "range": [
                                  345,
                                  355
                                ],
                                "loc": {
                                  "start": {
                                    "line": 8,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 8,
                                    "column": 27
                                  }
                                }
                              },
                              "params": [
                                {
                                  "type": "Identifier",
                                  "name": "h",
                                  "range": [
                                    356,
                                    357
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 8,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 8,
                                      "column": 29
                                    }
                                  }
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "CallExpression",
                                          "callee": {
                                            "type": "MemberExpression",
                                            "computed": false,
                                            "object": {
                                              "type": "CallExpression",
                                              "callee": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "CallExpression",
                                                      "callee": {
                                                        "type": "MemberExpression",
                                                        "computed": false,
                                                        "object": {
                                                          "type": "Identifier",
                                                          "name": "Observable",
                                                          "range": [
                                                            373,
                                                            383
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 12
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 22
                                                            }
                                                          }
                                                        },
                                                        "property": {
                                                          "type": "Identifier",
                                                          "name": "timer",
                                                          "range": [
                                                            384,
                                                            389
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 23
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 28
                                                            }
                                                          }
                                                        },
                                                        "range": [
                                                          373,
                                                          389
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 12
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 28
                                                          }
                                                        }
                                                      },
                                                      "arguments": [
                                                        {
                                                          "type": "Literal",
                                                          "value": 50,
                                                          "raw": "50",
                                                          "range": [
                                                            390,
                                                            392
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 29
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 31
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "type": "Literal",
                                                          "value": 20,
                                                          "raw": "20",
                                                          "range": [
                                                            394,
                                                            396
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 33
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 35
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "type": "Identifier",
                                                          "name": "rxTestScheduler",
                                                          "range": [
                                                            398,
                                                            413
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 37
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 52
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        373,
                                                        414
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 53
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "mapTo",
                                                      "range": [
                                                        432,
                                                        437
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 10,
                                                          "column": 17
                                                        },
                                                        "end": {
                                                          "line": 10,
                                                          "column": 22
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      373,
                                                      437
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 9,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 10,
                                                        "column": 22
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Literal",
                                                      "value": "ev",
                                                      "raw": "'ev'",
                                                      "range": [
                                                        438,
                                                        442
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 10,
                                                          "column": 23
                                                        },
                                                        "end": {
                                                          "line": 10,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    373,
                                                    443
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 9,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 10,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "take",
                                                  "range": [
                                                    461,
                                                    465
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 11,
                                                      "column": 17
                                                    },
                                                    "end": {
                                                      "line": 11,
                                                      "column": 21
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  373,
                                                  465
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 9,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 11,
                                                    "column": 21
                                                  }
                                                }
                                              },
                                              "arguments": [
                                                {
                                                  "type": "Literal",
                                                  "value": 2,
                                                  "raw": "2",
                                                  "range": [
                                                    466,
                                                    467
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 11,
                                                      "column": 22
                                                    },
                                                    "end": {
                                                      "line": 11,
                                                      "column": 23
                                                    }
                                                  }
                                                }
                                              ],
                                              "range": [
                                                373,
                                                468
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 9,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 11,
                                                  "column": 24
                                                }
                                              }
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "name": "concat",
                                              "range": [
                                                486,
                                                492
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 12,
                                                  "column": 17
                                                },
                                                "end": {
                                                  "line": 12,
                                                  "column": 23
                                                }
                                              }
                                            },
                                            "range": [
                                              373,
                                              492
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 12,
                                                "column": 23
                                              }
                                            }
                                          },
                                          "arguments": [
                                            {
                                              "type": "CallExpression",
                                              "callee": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "Identifier",
                                                  "name": "Observable",
                                                  "range": [
                                                    493,
                                                    503
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 12,
                                                      "column": 24
                                                    },
                                                    "end": {
                                                      "line": 12,
                                                      "column": 34
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "never",
                                                  "range": [
                                                    504,
                                                    509
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 12,
                                                      "column": 35
                                                    },
                                                    "end": {
                                                      "line": 12,
                                                      "column": 40
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  493,
                                                  509
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 12,
                                                    "column": 24
                                                  },
                                                  "end": {
                                                    "line": 12,
                                                    "column": 40
                                                  }
                                                }
                                              },
                                              "arguments": [],
                                              "range": [
                                                493,
                                                511
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 12,
                                                  "column": 24
                                                },
                                                "end": {
                                                  "line": 12,
                                                  "column": 42
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            373,
                                            512
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 9,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 12,
                                              "column": 43
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "subscribe",
                                          "range": [
                                            530,
                                            539
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 13,
                                              "column": 17
                                            },
                                            "end": {
                                              "line": 13,
                                              "column": 26
                                            }
                                          }
                                        },
                                        "range": [
                                          373,
                                          539
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 9,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 13,
                                            "column": 26
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "Identifier",
                                          "name": "h",
                                          "range": [
                                            540,
                                            541
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 13,
                                              "column": 27
                                            },
                                            "end": {
                                              "line": 13,
                                              "column": 28
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        373,
                                        542
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 9,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 13,
                                          "column": 29
                                        }
                                      }
                                    },
                                    "range": [
                                      373,
                                      543
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 9,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 13,
                                        "column": 30
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  359,
                                  553
                                ],
                                "loc": {
                                  "start": {
                                    "line": 8,
                                    "column": 31
                                  },
                                  "end": {
                                    "line": 14,
                                    "column": 9
                                  }
                                }
                              },
                              "generator": false,
                              "expression": false,
                              "range": [
                                336,
                                553
                              ],
                              "loc": {
                                "start": {
                                  "line": 8,
                                  "column": 8
                                },
                                "end": {
                                  "line": 14,
                                  "column": 9
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "e1",
                                    "range": [
                                      566,
                                      568
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 15,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 15,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          571,
                                          581
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 15,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 15,
                                            "column": 27
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "fromEventPattern",
                                        "range": [
                                          582,
                                          598
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 15,
                                            "column": 28
                                          },
                                          "end": {
                                            "line": 15,
                                            "column": 44
                                          }
                                        }
                                      },
                                      "range": [
                                        571,
                                        598
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 15,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 15,
                                          "column": 44
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "addHandler",
                                        "range": [
                                          599,
                                          609
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 15,
                                            "column": 45
                                          },
                                          "end": {
                                            "line": 15,
                                            "column": 55
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "UnaryExpression",
                                                "operator": "void",
                                                "argument": {
                                                  "type": "Literal",
                                                  "value": 0,
                                                  "raw": "0",
                                                  "range": [
                                                    637,
                                                    638
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 15,
                                                      "column": 83
                                                    },
                                                    "end": {
                                                      "line": 15,
                                                      "column": 84
                                                    }
                                                  }
                                                },
                                                "prefix": true,
                                                "range": [
                                                  632,
                                                  638
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 15,
                                                    "column": 78
                                                  },
                                                  "end": {
                                                    "line": 15,
                                                    "column": 84
                                                  }
                                                }
                                              },
                                              "range": [
                                                625,
                                                639
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 15,
                                                  "column": 71
                                                },
                                                "end": {
                                                  "line": 15,
                                                  "column": 85
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            623,
                                            641
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 15,
                                              "column": 69
                                            },
                                            "end": {
                                              "line": 15,
                                              "column": 87
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          611,
                                          641
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 15,
                                            "column": 57
                                          },
                                          "end": {
                                            "line": 15,
                                            "column": 87
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      571,
                                      642
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 15,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 15,
                                        "column": 88
                                      }
                                    }
                                  },
                                  "range": [
                                    566,
                                    642
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 15,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 15,
                                      "column": 88
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                562,
                                643
                              ],
                              "loc": {
                                "start": {
                                  "line": 15,
                                  "column": 8
                                },
                                "end": {
                                  "line": 15,
                                  "column": 89
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "expected",
                                    "range": [
                                      656,
                                      664
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": "-----x-x---",
                                    "raw": "'-----x-x---'",
                                    "range": [
                                      667,
                                      680
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 36
                                      }
                                    }
                                  },
                                  "range": [
                                    656,
                                    680
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 16,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 16,
                                      "column": 36
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                652,
                                681
                              ],
                              "loc": {
                                "start": {
                                  "line": 16,
                                  "column": 8
                                },
                                "end": {
                                  "line": 16,
                                  "column": 37
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "Identifier",
                                      "name": "expectObservable",
                                      "range": [
                                        690,
                                        706
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 17,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 17,
                                          "column": 24
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "e1",
                                        "range": [
                                          707,
                                          709
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 17,
                                            "column": 25
                                          },
                                          "end": {
                                            "line": 17,
                                            "column": 27
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      690,
                                      710
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 17,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 17,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "toBe",
                                    "range": [
                                      711,
                                      715
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 17,
                                        "column": 29
                                      },
                                      "end": {
                                        "line": 17,
                                        "column": 33
                                      }
                                    }
                                  },
                                  "range": [
                                    690,
                                    715
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 17,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 17,
                                      "column": 33
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "name": "expected",
                                    "range": [
                                      716,
                                      724
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 17,
                                        "column": 34
                                      },
                                      "end": {
                                        "line": 17,
                                        "column": 42
                                      }
                                    }
                                  },
                                  {
                                    "type": "ObjectExpression",
                                    "properties": [
                                      {
                                        "type": "Property",
                                        "key": {
                                          "type": "Identifier",
                                          "name": "x",
                                          "range": [
                                            728,
                                            729
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 17,
                                              "column": 46
                                            },
                                            "end": {
                                              "line": 17,
                                              "column": 47
                                            }
                                          }
                                        },
                                        "value": {
                                          "type": "Literal",
                                          "value": "ev",
                                          "raw": "'ev'",
                                          "range": [
                                            731,
                                            735
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 17,
                                              "column": 49
                                            },
                                            "end": {
                                              "line": 17,
                                              "column": 53
                                            }
                                          }
                                        },
                                        "kind": "init",
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "range": [
                                          728,
                                          735
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 17,
                                            "column": 46
                                          },
                                          "end": {
                                            "line": 17,
                                            "column": 53
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      726,
                                      737
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 17,
                                        "column": 44
                                      },
                                      "end": {
                                        "line": 17,
                                        "column": 55
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  690,
                                  738
                                ],
                                "loc": {
                                  "start": {
                                    "line": 17,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 17,
                                    "column": 56
                                  }
                                }
                              },
                              "range": [
                                690,
                                739
                              ],
                              "loc": {
                                "start": {
                                  "line": 17,
                                  "column": 8
                                },
                                "end": {
                                  "line": 17,
                                  "column": 57
                                }
                              }
                            }
                          ],
                          "range": [
                            326,
                            745
                          ],
                          "loc": {
                            "start": {
                              "line": 7,
                              "column": 125
                            },
                            "end": {
                              "line": 18,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          314,
                          745
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 113
                          },
                          "end": {
                            "line": 18,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      205,
                      746
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 4
                      },
                      "end": {
                        "line": 18,
                        "column": 6
                      }
                    }
                  },
                  "range": [
                    205,
                    747
                  ],
                  "loc": {
                    "start": {
                      "line": 7,
                      "column": 4
                    },
                    "end": {
                      "line": 18,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        752,
                        754
                      ],
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 4
                        },
                        "end": {
                          "line": 19,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should call addHandler on subscription",
                        "raw": "'should call addHandler on subscription'",
                        "range": [
                          755,
                          795
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 7
                          },
                          "end": {
                            "line": 19,
                            "column": 47
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "addHandlerCalledWith",
                                    "range": [
                                      823,
                                      843
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 32
                                      }
                                    }
                                  },
                                  "init": null,
                                  "range": [
                                    823,
                                    843
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 20,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 20,
                                      "column": 32
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                819,
                                844
                              ],
                              "loc": {
                                "start": {
                                  "line": 20,
                                  "column": 8
                                },
                                "end": {
                                  "line": 20,
                                  "column": 33
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "addHandler",
                                    "range": [
                                      857,
                                      867
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "h",
                                        "range": [
                                          880,
                                          881
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 21,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 21,
                                            "column": 36
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "addHandlerCalledWith",
                                              "range": [
                                                897,
                                                917
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 22,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 22,
                                                  "column": 32
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Identifier",
                                              "name": "h",
                                              "range": [
                                                920,
                                                921
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 22,
                                                  "column": 35
                                                },
                                                "end": {
                                                  "line": 22,
                                                  "column": 36
                                                }
                                              }
                                            },
                                            "range": [
                                              897,
                                              921
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 22,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 22,
                                                "column": 36
                                              }
                                            }
                                          },
                                          "range": [
                                            897,
                                            922
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 22,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 22,
                                              "column": 37
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        883,
                                        932
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 38
                                        },
                                        "end": {
                                          "line": 23,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      870,
                                      932
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    857,
                                    932
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                853,
                                933
                              ],
                              "loc": {
                                "start": {
                                  "line": 21,
                                  "column": 8
                                },
                                "end": {
                                  "line": 23,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "removeHandler",
                                    "range": [
                                      946,
                                      959
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 24,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 24,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [],
                                      "range": [
                                        974,
                                        1004
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 24,
                                          "column": 40
                                        },
                                        "end": {
                                          "line": 26,
                                          "column": 9
                                        }
                                      },
                                      "trailingComments": [
                                        {
                                          "type": "Line",
                                          "value": "noop",
                                          "range": [
                                            988,
                                            994
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 25,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 25,
                                              "column": 18
                                            }
                                          }
                                        }
                                      ]
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      962,
                                      1004
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 24,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 26,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    946,
                                    1004
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 24,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 26,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                942,
                                1005
                              ],
                              "loc": {
                                "start": {
                                  "line": 24,
                                  "column": 8
                                },
                                "end": {
                                  "line": 26,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          1014,
                                          1024
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 27,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 27,
                                            "column": 18
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "fromEventPattern",
                                        "range": [
                                          1025,
                                          1041
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 27,
                                            "column": 19
                                          },
                                          "end": {
                                            "line": 27,
                                            "column": 35
                                          }
                                        }
                                      },
                                      "range": [
                                        1014,
                                        1041
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 27,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 27,
                                          "column": 35
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "addHandler",
                                        "range": [
                                          1042,
                                          1052
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 27,
                                            "column": 36
                                          },
                                          "end": {
                                            "line": 27,
                                            "column": 46
                                          }
                                        }
                                      },
                                      {
                                        "type": "Identifier",
                                        "name": "removeHandler",
                                        "range": [
                                          1054,
                                          1067
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 27,
                                            "column": 48
                                          },
                                          "end": {
                                            "line": 27,
                                            "column": 61
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      1014,
                                      1068
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 27,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 27,
                                        "column": 62
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      1082,
                                      1091
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 28,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 28,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "range": [
                                    1014,
                                    1091
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 27,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 28,
                                      "column": 22
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [],
                                      "range": [
                                        1104,
                                        1134
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 28,
                                          "column": 35
                                        },
                                        "end": {
                                          "line": 30,
                                          "column": 9
                                        }
                                      },
                                      "trailingComments": [
                                        {
                                          "type": "Line",
                                          "value": "noop",
                                          "range": [
                                            1118,
                                            1124
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 29,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 29,
                                              "column": 18
                                            }
                                          }
                                        }
                                      ]
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1092,
                                      1134
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 28,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 30,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1014,
                                  1135
                                ],
                                "loc": {
                                  "start": {
                                    "line": 27,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 30,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                1014,
                                1136
                              ],
                              "loc": {
                                "start": {
                                  "line": 27,
                                  "column": 8
                                },
                                "end": {
                                  "line": 30,
                                  "column": 11
                                }
                              },
                              "leadingComments": [
                                {
                                  "type": "Line",
                                  "value": "noop",
                                  "range": [
                                    988,
                                    994
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 18
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "chai_1",
                                            "range": [
                                              1145,
                                              1151
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 14
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "expect",
                                            "range": [
                                              1152,
                                              1158
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 15
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 21
                                              }
                                            }
                                          },
                                          "range": [
                                            1145,
                                            1158
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 21
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "name": "addHandlerCalledWith",
                                            "range": [
                                              1159,
                                              1179
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 22
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 42
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1145,
                                          1180
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 31,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 31,
                                            "column": 43
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "to",
                                        "range": [
                                          1181,
                                          1183
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 31,
                                            "column": 44
                                          },
                                          "end": {
                                            "line": 31,
                                            "column": 46
                                          }
                                        }
                                      },
                                      "range": [
                                        1145,
                                        1183
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 31,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 31,
                                          "column": 46
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "be",
                                      "range": [
                                        1184,
                                        1186
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 31,
                                          "column": 47
                                        },
                                        "end": {
                                          "line": 31,
                                          "column": 49
                                        }
                                      }
                                    },
                                    "range": [
                                      1145,
                                      1186
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 31,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 31,
                                        "column": 49
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "a",
                                    "range": [
                                      1187,
                                      1188
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 31,
                                        "column": 50
                                      },
                                      "end": {
                                        "line": 31,
                                        "column": 51
                                      }
                                    }
                                  },
                                  "range": [
                                    1145,
                                    1188
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 51
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": "function",
                                    "raw": "'function'",
                                    "range": [
                                      1189,
                                      1199
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 31,
                                        "column": 52
                                      },
                                      "end": {
                                        "line": 31,
                                        "column": 62
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1145,
                                  1200
                                ],
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 63
                                  }
                                }
                              },
                              "range": [
                                1145,
                                1201
                              ],
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 8
                                },
                                "end": {
                                  "line": 31,
                                  "column": 64
                                }
                              },
                              "leadingComments": [
                                {
                                  "type": "Line",
                                  "value": "noop",
                                  "range": [
                                    1118,
                                    1124
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 29,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 29,
                                      "column": 18
                                    }
                                  }
                                }
                              ]
                            }
                          ],
                          "range": [
                            809,
                            1207
                          ],
                          "loc": {
                            "start": {
                              "line": 19,
                              "column": 61
                            },
                            "end": {
                              "line": 32,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          797,
                          1207
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 49
                          },
                          "end": {
                            "line": 32,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      752,
                      1208
                    ],
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 4
                      },
                      "end": {
                        "line": 32,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 378,
                    "_esdocTestName": "it378"
                  },
                  "range": [
                    752,
                    1209
                  ],
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 4
                    },
                    "end": {
                      "line": 32,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        1214,
                        1216
                      ],
                      "loc": {
                        "start": {
                          "line": 33,
                          "column": 4
                        },
                        "end": {
                          "line": 33,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should call removeHandler on unsubscription",
                        "raw": "'should call removeHandler on unsubscription'",
                        "range": [
                          1217,
                          1262
                        ],
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 7
                          },
                          "end": {
                            "line": 33,
                            "column": 52
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "removeHandlerCalledWith",
                                    "range": [
                                      1290,
                                      1313
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 34,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 35
                                      }
                                    }
                                  },
                                  "init": null,
                                  "range": [
                                    1290,
                                    1313
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 34,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 34,
                                      "column": 35
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1286,
                                1314
                              ],
                              "loc": {
                                "start": {
                                  "line": 34,
                                  "column": 8
                                },
                                "end": {
                                  "line": 34,
                                  "column": 36
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "addHandler",
                                    "range": [
                                      1327,
                                      1337
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [],
                                      "range": [
                                        1352,
                                        1382
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 35,
                                          "column": 37
                                        },
                                        "end": {
                                          "line": 37,
                                          "column": 9
                                        }
                                      },
                                      "trailingComments": [
                                        {
                                          "type": "Line",
                                          "value": "noop",
                                          "range": [
                                            1366,
                                            1372
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 36,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 36,
                                              "column": 18
                                            }
                                          }
                                        }
                                      ]
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1340,
                                      1382
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 37,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    1327,
                                    1382
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 35,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 37,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1323,
                                1383
                              ],
                              "loc": {
                                "start": {
                                  "line": 35,
                                  "column": 8
                                },
                                "end": {
                                  "line": 37,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "removeHandler",
                                    "range": [
                                      1396,
                                      1409
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 38,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 38,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "h",
                                        "range": [
                                          1422,
                                          1423
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 38,
                                            "column": 38
                                          },
                                          "end": {
                                            "line": 38,
                                            "column": 39
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "removeHandlerCalledWith",
                                              "range": [
                                                1439,
                                                1462
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 39,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 39,
                                                  "column": 35
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Identifier",
                                              "name": "h",
                                              "range": [
                                                1465,
                                                1466
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 39,
                                                  "column": 38
                                                },
                                                "end": {
                                                  "line": 39,
                                                  "column": 39
                                                }
                                              }
                                            },
                                            "range": [
                                              1439,
                                              1466
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 39,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 39,
                                                "column": 39
                                              }
                                            }
                                          },
                                          "range": [
                                            1439,
                                            1467
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 39,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 39,
                                              "column": 40
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1425,
                                        1477
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 38,
                                          "column": 41
                                        },
                                        "end": {
                                          "line": 40,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1412,
                                      1477
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 38,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 40,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    1396,
                                    1477
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 38,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 40,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1392,
                                1478
                              ],
                              "loc": {
                                "start": {
                                  "line": 38,
                                  "column": 8
                                },
                                "end": {
                                  "line": 40,
                                  "column": 10
                                }
                              },
                              "leadingComments": [
                                {
                                  "type": "Line",
                                  "value": "noop",
                                  "range": [
                                    1366,
                                    1372
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 36,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 36,
                                      "column": 18
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "subscription",
                                    "range": [
                                      1491,
                                      1503
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 41,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 41,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              1506,
                                              1516
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 27
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 37
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "fromEventPattern",
                                            "range": [
                                              1517,
                                              1533
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 38
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 54
                                              }
                                            }
                                          },
                                          "range": [
                                            1506,
                                            1533
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 41,
                                              "column": 27
                                            },
                                            "end": {
                                              "line": 41,
                                              "column": 54
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "name": "addHandler",
                                            "range": [
                                              1534,
                                              1544
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 55
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 65
                                              }
                                            }
                                          },
                                          {
                                            "type": "Identifier",
                                            "name": "removeHandler",
                                            "range": [
                                              1546,
                                              1559
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 67
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 80
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1506,
                                          1560
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 41,
                                            "column": 27
                                          },
                                          "end": {
                                            "line": 41,
                                            "column": 81
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "subscribe",
                                        "range": [
                                          1574,
                                          1583
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 42,
                                            "column": 13
                                          },
                                          "end": {
                                            "line": 42,
                                            "column": 22
                                          }
                                        }
                                      },
                                      "range": [
                                        1506,
                                        1583
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 41,
                                          "column": 27
                                        },
                                        "end": {
                                          "line": 42,
                                          "column": 22
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [],
                                          "range": [
                                            1596,
                                            1626
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 42,
                                              "column": 35
                                            },
                                            "end": {
                                              "line": 44,
                                              "column": 9
                                            }
                                          },
                                          "trailingComments": [
                                            {
                                              "type": "Line",
                                              "value": "noop",
                                              "range": [
                                                1610,
                                                1616
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 43,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 43,
                                                  "column": 18
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1584,
                                          1626
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 42,
                                            "column": 23
                                          },
                                          "end": {
                                            "line": 44,
                                            "column": 9
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      1506,
                                      1627
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 41,
                                        "column": 27
                                      },
                                      "end": {
                                        "line": 44,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "range": [
                                    1491,
                                    1627
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 41,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 44,
                                      "column": 10
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1487,
                                1628
                              ],
                              "loc": {
                                "start": {
                                  "line": 41,
                                  "column": 8
                                },
                                "end": {
                                  "line": 44,
                                  "column": 11
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "subscription",
                                    "range": [
                                      1637,
                                      1649
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 45,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 45,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "unsubscribe",
                                    "range": [
                                      1650,
                                      1661
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 45,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 45,
                                        "column": 32
                                      }
                                    }
                                  },
                                  "range": [
                                    1637,
                                    1661
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 45,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 45,
                                      "column": 32
                                    }
                                  }
                                },
                                "arguments": [],
                                "range": [
                                  1637,
                                  1663
                                ],
                                "loc": {
                                  "start": {
                                    "line": 45,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 45,
                                    "column": 34
                                  }
                                }
                              },
                              "range": [
                                1637,
                                1664
                              ],
                              "loc": {
                                "start": {
                                  "line": 45,
                                  "column": 8
                                },
                                "end": {
                                  "line": 45,
                                  "column": 35
                                }
                              },
                              "leadingComments": [
                                {
                                  "type": "Line",
                                  "value": "noop",
                                  "range": [
                                    1610,
                                    1616
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 43,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 43,
                                      "column": 18
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "chai_1",
                                            "range": [
                                              1673,
                                              1679
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 46,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 46,
                                                "column": 14
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "expect",
                                            "range": [
                                              1680,
                                              1686
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 46,
                                                "column": 15
                                              },
                                              "end": {
                                                "line": 46,
                                                "column": 21
                                              }
                                            }
                                          },
                                          "range": [
                                            1673,
                                            1686
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 46,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 46,
                                              "column": 21
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "name": "removeHandlerCalledWith",
                                            "range": [
                                              1687,
                                              1710
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 46,
                                                "column": 22
                                              },
                                              "end": {
                                                "line": 46,
                                                "column": 45
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1673,
                                          1711
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 46,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 46,
                                            "column": 46
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "to",
                                        "range": [
                                          1712,
                                          1714
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 46,
                                            "column": 47
                                          },
                                          "end": {
                                            "line": 46,
                                            "column": 49
                                          }
                                        }
                                      },
                                      "range": [
                                        1673,
                                        1714
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 46,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 46,
                                          "column": 49
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "be",
                                      "range": [
                                        1715,
                                        1717
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 46,
                                          "column": 50
                                        },
                                        "end": {
                                          "line": 46,
                                          "column": 52
                                        }
                                      }
                                    },
                                    "range": [
                                      1673,
                                      1717
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 46,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 46,
                                        "column": 52
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "a",
                                    "range": [
                                      1718,
                                      1719
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 46,
                                        "column": 53
                                      },
                                      "end": {
                                        "line": 46,
                                        "column": 54
                                      }
                                    }
                                  },
                                  "range": [
                                    1673,
                                    1719
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 46,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 46,
                                      "column": 54
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": "function",
                                    "raw": "'function'",
                                    "range": [
                                      1720,
                                      1730
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 46,
                                        "column": 55
                                      },
                                      "end": {
                                        "line": 46,
                                        "column": 65
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1673,
                                  1731
                                ],
                                "loc": {
                                  "start": {
                                    "line": 46,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 46,
                                    "column": 66
                                  }
                                }
                              },
                              "range": [
                                1673,
                                1732
                              ],
                              "loc": {
                                "start": {
                                  "line": 46,
                                  "column": 8
                                },
                                "end": {
                                  "line": 46,
                                  "column": 67
                                }
                              }
                            }
                          ],
                          "range": [
                            1276,
                            1738
                          ],
                          "loc": {
                            "start": {
                              "line": 33,
                              "column": 66
                            },
                            "end": {
                              "line": 47,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          1264,
                          1738
                        ],
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 54
                          },
                          "end": {
                            "line": 47,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      1214,
                      1739
                    ],
                    "loc": {
                      "start": {
                        "line": 33,
                        "column": 4
                      },
                      "end": {
                        "line": 47,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 379,
                    "_esdocTestName": "it379"
                  },
                  "range": [
                    1214,
                    1740
                  ],
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 4
                    },
                    "end": {
                      "line": 47,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        1745,
                        1747
                      ],
                      "loc": {
                        "start": {
                          "line": 48,
                          "column": 4
                        },
                        "end": {
                          "line": 48,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should send errors in addHandler down the error path",
                        "raw": "'should send errors in addHandler down the error path'",
                        "range": [
                          1748,
                          1802
                        ],
                        "loc": {
                          "start": {
                            "line": 48,
                            "column": 7
                          },
                          "end": {
                            "line": 48,
                            "column": 61
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          1826,
                                          1836
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 49,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 49,
                                            "column": 18
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "fromEventPattern",
                                        "range": [
                                          1837,
                                          1853
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 49,
                                            "column": 19
                                          },
                                          "end": {
                                            "line": 49,
                                            "column": 35
                                          }
                                        }
                                      },
                                      "range": [
                                        1826,
                                        1853
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 49,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 49,
                                          "column": 35
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "name": "h",
                                            "range": [
                                              1864,
                                              1865
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 49,
                                                "column": 46
                                              },
                                              "end": {
                                                "line": 49,
                                                "column": 47
                                              }
                                            }
                                          }
                                        ],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ThrowStatement",
                                              "argument": {
                                                "type": "Literal",
                                                "value": "bad",
                                                "raw": "'bad'",
                                                "range": [
                                                  1887,
                                                  1892
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 50,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 50,
                                                    "column": 23
                                                  }
                                                }
                                              },
                                              "range": [
                                                1881,
                                                1893
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 50,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 50,
                                                  "column": 24
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1867,
                                            1903
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 49,
                                              "column": 49
                                            },
                                            "end": {
                                              "line": 51,
                                              "column": 9
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1854,
                                          1903
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 49,
                                            "column": 36
                                          },
                                          "end": {
                                            "line": 51,
                                            "column": 9
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [],
                                          "range": [
                                            1917,
                                            1947
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 51,
                                              "column": 23
                                            },
                                            "end": {
                                              "line": 53,
                                              "column": 9
                                            }
                                          },
                                          "trailingComments": [
                                            {
                                              "type": "Line",
                                              "value": "noop",
                                              "range": [
                                                1931,
                                                1937
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 52,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 52,
                                                  "column": 18
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1905,
                                          1947
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 51,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 53,
                                            "column": 9
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      1826,
                                      1948
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 49,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 53,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      1949,
                                      1958
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 53,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 53,
                                        "column": 20
                                      }
                                    },
                                    "leadingComments": [
                                      {
                                        "type": "Line",
                                        "value": "noop",
                                        "range": [
                                          1931,
                                          1937
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 52,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 52,
                                            "column": 18
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  "range": [
                                    1826,
                                    1958
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 49,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 53,
                                      "column": 20
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [],
                                      "range": [
                                        1971,
                                        2001
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 53,
                                          "column": 33
                                        },
                                        "end": {
                                          "line": 55,
                                          "column": 9
                                        }
                                      },
                                      "trailingComments": [
                                        {
                                          "type": "Line",
                                          "value": "noop",
                                          "range": [
                                            1985,
                                            1991
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 54,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 54,
                                              "column": 18
                                            }
                                          }
                                        }
                                      ]
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1959,
                                      2001
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 53,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 55,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "err",
                                        "range": [
                                          2013,
                                          2016
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 55,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 55,
                                            "column": 24
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "chai_1",
                                                      "range": [
                                                        2032,
                                                        2038
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 56,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 56,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        2039,
                                                        2045
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 56,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 56,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2032,
                                                      2045
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 56,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 56,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "err",
                                                      "range": [
                                                        2046,
                                                        2049
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 56,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 56,
                                                          "column": 29
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    2032,
                                                    2050
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 56,
                                                      "column": 30
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    2051,
                                                    2053
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 31
                                                    },
                                                    "end": {
                                                      "line": 56,
                                                      "column": 33
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2032,
                                                  2053
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 56,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 56,
                                                    "column": 33
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  2054,
                                                  2059
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 56,
                                                    "column": 34
                                                  },
                                                  "end": {
                                                    "line": 56,
                                                    "column": 39
                                                  }
                                                }
                                              },
                                              "range": [
                                                2032,
                                                2059
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 56,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 56,
                                                  "column": 39
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": "bad",
                                                "raw": "'bad'",
                                                "range": [
                                                  2060,
                                                  2065
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 56,
                                                    "column": 40
                                                  },
                                                  "end": {
                                                    "line": 56,
                                                    "column": 45
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2032,
                                              2066
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 56,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 56,
                                                "column": 46
                                              }
                                            }
                                          },
                                          "range": [
                                            2032,
                                            2067
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 56,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 56,
                                              "column": 47
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2018,
                                        2077
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 55,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 57,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2003,
                                      2077
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 55,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 57,
                                        "column": 9
                                      }
                                    },
                                    "leadingComments": [
                                      {
                                        "type": "Line",
                                        "value": "noop",
                                        "range": [
                                          1985,
                                          1991
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 18
                                          }
                                        }
                                      }
                                    ]
                                  }
                                ],
                                "range": [
                                  1826,
                                  2078
                                ],
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 57,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                1826,
                                2079
                              ],
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 8
                                },
                                "end": {
                                  "line": 57,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            1816,
                            2085
                          ],
                          "loc": {
                            "start": {
                              "line": 48,
                              "column": 75
                            },
                            "end": {
                              "line": 58,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          1804,
                          2085
                        ],
                        "loc": {
                          "start": {
                            "line": 48,
                            "column": 63
                          },
                          "end": {
                            "line": 58,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      1745,
                      2086
                    ],
                    "loc": {
                      "start": {
                        "line": 48,
                        "column": 4
                      },
                      "end": {
                        "line": 58,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 380,
                    "_esdocTestName": "it380"
                  },
                  "range": [
                    1745,
                    2087
                  ],
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 4
                    },
                    "end": {
                      "line": 58,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        2092,
                        2094
                      ],
                      "loc": {
                        "start": {
                          "line": 59,
                          "column": 4
                        },
                        "end": {
                          "line": 59,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should accept a selector that maps outgoing values",
                        "raw": "'should accept a selector that maps outgoing values'",
                        "range": [
                          2095,
                          2147
                        ],
                        "loc": {
                          "start": {
                            "line": 59,
                            "column": 7
                          },
                          "end": {
                            "line": 59,
                            "column": 59
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              2159,
                              2163
                            ],
                            "loc": {
                              "start": {
                                "line": 59,
                                "column": 71
                              },
                              "end": {
                                "line": 59,
                                "column": 75
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "target",
                                    "range": [
                                      2179,
                                      2185
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 60,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 60,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "init": null,
                                  "range": [
                                    2179,
                                    2185
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 60,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 60,
                                      "column": 18
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2175,
                                2186
                              ],
                              "loc": {
                                "start": {
                                  "line": 60,
                                  "column": 8
                                },
                                "end": {
                                  "line": 60,
                                  "column": 19
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "trigger",
                                    "range": [
                                      2199,
                                      2206
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 61,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 61,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "VariableDeclaration",
                                          "declarations": [
                                            {
                                              "type": "VariableDeclarator",
                                              "id": {
                                                "type": "Identifier",
                                                "name": "args",
                                                "range": [
                                                  2239,
                                                  2243
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 62,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 62,
                                                    "column": 20
                                                  }
                                                }
                                              },
                                              "init": {
                                                "type": "ArrayExpression",
                                                "elements": [],
                                                "range": [
                                                  2246,
                                                  2248
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 62,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 62,
                                                    "column": 25
                                                  }
                                                }
                                              },
                                              "range": [
                                                2239,
                                                2248
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 62,
                                                  "column": 16
                                                },
                                                "end": {
                                                  "line": 62,
                                                  "column": 25
                                                }
                                              }
                                            }
                                          ],
                                          "kind": "var",
                                          "range": [
                                            2235,
                                            2249
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 62,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 62,
                                              "column": 26
                                            }
                                          }
                                        },
                                        {
                                          "type": "ForStatement",
                                          "init": {
                                            "type": "VariableDeclaration",
                                            "declarations": [
                                              {
                                                "type": "VariableDeclarator",
                                                "id": {
                                                  "type": "Identifier",
                                                  "name": "_i",
                                                  "range": [
                                                    2271,
                                                    2273
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 63,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 63,
                                                      "column": 23
                                                    }
                                                  }
                                                },
                                                "init": {
                                                  "type": "Literal",
                                                  "value": 0,
                                                  "raw": "0",
                                                  "range": [
                                                    2276,
                                                    2277
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 63,
                                                      "column": 26
                                                    },
                                                    "end": {
                                                      "line": 63,
                                                      "column": 27
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2271,
                                                  2277
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 63,
                                                    "column": 21
                                                  },
                                                  "end": {
                                                    "line": 63,
                                                    "column": 27
                                                  }
                                                }
                                              }
                                            ],
                                            "kind": "var",
                                            "range": [
                                              2267,
                                              2277
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 63,
                                                "column": 17
                                              },
                                              "end": {
                                                "line": 63,
                                                "column": 27
                                              }
                                            }
                                          },
                                          "test": {
                                            "type": "BinaryExpression",
                                            "operator": "<",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "_i",
                                              "range": [
                                                2279,
                                                2281
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 63,
                                                  "column": 29
                                                },
                                                "end": {
                                                  "line": 63,
                                                  "column": 31
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "Identifier",
                                                "name": "arguments",
                                                "range": [
                                                  2284,
                                                  2293
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 63,
                                                    "column": 34
                                                  },
                                                  "end": {
                                                    "line": 63,
                                                    "column": 43
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "length",
                                                "range": [
                                                  2294,
                                                  2300
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 63,
                                                    "column": 44
                                                  },
                                                  "end": {
                                                    "line": 63,
                                                    "column": 50
                                                  }
                                                }
                                              },
                                              "range": [
                                                2284,
                                                2300
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 63,
                                                  "column": 34
                                                },
                                                "end": {
                                                  "line": 63,
                                                  "column": 50
                                                }
                                              }
                                            },
                                            "range": [
                                              2279,
                                              2300
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 63,
                                                "column": 29
                                              },
                                              "end": {
                                                "line": 63,
                                                "column": 50
                                              }
                                            }
                                          },
                                          "update": {
                                            "type": "UpdateExpression",
                                            "operator": "++",
                                            "argument": {
                                              "type": "Identifier",
                                              "name": "_i",
                                              "range": [
                                                2302,
                                                2304
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 63,
                                                  "column": 52
                                                },
                                                "end": {
                                                  "line": 63,
                                                  "column": 54
                                                }
                                              }
                                            },
                                            "prefix": false,
                                            "range": [
                                              2302,
                                              2306
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 63,
                                                "column": 52
                                              },
                                              "end": {
                                                "line": 63,
                                                "column": 56
                                              }
                                            }
                                          },
                                          "body": {
                                            "type": "BlockStatement",
                                            "body": [
                                              {
                                                "type": "ExpressionStatement",
                                                "expression": {
                                                  "type": "AssignmentExpression",
                                                  "operator": "=",
                                                  "left": {
                                                    "type": "MemberExpression",
                                                    "computed": true,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "args",
                                                      "range": [
                                                        2326,
                                                        2330
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 64,
                                                          "column": 16
                                                        },
                                                        "end": {
                                                          "line": 64,
                                                          "column": 20
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "BinaryExpression",
                                                      "operator": "-",
                                                      "left": {
                                                        "type": "Identifier",
                                                        "name": "_i",
                                                        "range": [
                                                          2331,
                                                          2333
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 64,
                                                            "column": 21
                                                          },
                                                          "end": {
                                                            "line": 64,
                                                            "column": 23
                                                          }
                                                        }
                                                      },
                                                      "right": {
                                                        "type": "Literal",
                                                        "value": 0,
                                                        "raw": "0",
                                                        "range": [
                                                          2336,
                                                          2337
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 64,
                                                            "column": 26
                                                          },
                                                          "end": {
                                                            "line": 64,
                                                            "column": 27
                                                          }
                                                        }
                                                      },
                                                      "range": [
                                                        2331,
                                                        2337
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 64,
                                                          "column": 21
                                                        },
                                                        "end": {
                                                          "line": 64,
                                                          "column": 27
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2326,
                                                      2338
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 64,
                                                        "column": 16
                                                      },
                                                      "end": {
                                                        "line": 64,
                                                        "column": 28
                                                      }
                                                    }
                                                  },
                                                  "right": {
                                                    "type": "MemberExpression",
                                                    "computed": true,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "arguments",
                                                      "range": [
                                                        2341,
                                                        2350
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 64,
                                                          "column": 31
                                                        },
                                                        "end": {
                                                          "line": 64,
                                                          "column": 40
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "_i",
                                                      "range": [
                                                        2351,
                                                        2353
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 64,
                                                          "column": 41
                                                        },
                                                        "end": {
                                                          "line": 64,
                                                          "column": 43
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2341,
                                                      2354
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 64,
                                                        "column": 31
                                                      },
                                                      "end": {
                                                        "line": 64,
                                                        "column": 44
                                                      }
                                                    }
                                                  },
                                                  "range": [
                                                    2326,
                                                    2354
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 64,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 64,
                                                      "column": 44
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2326,
                                                  2355
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 45
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2308,
                                              2369
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 63,
                                                "column": 58
                                              },
                                              "end": {
                                                "line": 65,
                                                "column": 13
                                              }
                                            }
                                          },
                                          "range": [
                                            2262,
                                            2369
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 63,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 65,
                                              "column": 13
                                            }
                                          }
                                        },
                                        {
                                          "type": "IfStatement",
                                          "test": {
                                            "type": "Identifier",
                                            "name": "target",
                                            "range": [
                                              2386,
                                              2392
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 66,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 66,
                                                "column": 22
                                              }
                                            }
                                          },
                                          "consequent": {
                                            "type": "BlockStatement",
                                            "body": [
                                              {
                                                "type": "ExpressionStatement",
                                                "expression": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "target",
                                                      "range": [
                                                        2412,
                                                        2418
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 67,
                                                          "column": 16
                                                        },
                                                        "end": {
                                                          "line": 67,
                                                          "column": 22
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "apply",
                                                      "range": [
                                                        2419,
                                                        2424
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 67,
                                                          "column": 23
                                                        },
                                                        "end": {
                                                          "line": 67,
                                                          "column": 28
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2412,
                                                      2424
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 67,
                                                        "column": 16
                                                      },
                                                      "end": {
                                                        "line": 67,
                                                        "column": 28
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Literal",
                                                      "value": null,
                                                      "raw": "null",
                                                      "range": [
                                                        2425,
                                                        2429
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 67,
                                                          "column": 29
                                                        },
                                                        "end": {
                                                          "line": 67,
                                                          "column": 33
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "type": "Identifier",
                                                      "name": "arguments",
                                                      "range": [
                                                        2431,
                                                        2440
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 67,
                                                          "column": 35
                                                        },
                                                        "end": {
                                                          "line": 67,
                                                          "column": 44
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    2412,
                                                    2441
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 67,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 67,
                                                      "column": 45
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2412,
                                                  2442
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 67,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 67,
                                                    "column": 46
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2394,
                                              2456
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 66,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 13
                                              }
                                            }
                                          },
                                          "alternate": null,
                                          "range": [
                                            2382,
                                            2456
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 66,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 13
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2221,
                                        2466
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 61,
                                          "column": 34
                                        },
                                        "end": {
                                          "line": 69,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2209,
                                      2466
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 61,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 69,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    2199,
                                    2466
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 61,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 69,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2195,
                                2467
                              ],
                              "loc": {
                                "start": {
                                  "line": 61,
                                  "column": 8
                                },
                                "end": {
                                  "line": 69,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "addHandler",
                                    "range": [
                                      2480,
                                      2490
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 70,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 70,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "handler",
                                        "range": [
                                          2503,
                                          2510
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 70,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 70,
                                            "column": 42
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "target",
                                              "range": [
                                                2526,
                                                2532
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 71,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 71,
                                                  "column": 18
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Identifier",
                                              "name": "handler",
                                              "range": [
                                                2535,
                                                2542
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 71,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 71,
                                                  "column": 28
                                                }
                                              }
                                            },
                                            "range": [
                                              2526,
                                              2542
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 71,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 71,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "range": [
                                            2526,
                                            2543
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 71,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 71,
                                              "column": 29
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2512,
                                        2553
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 70,
                                          "column": 44
                                        },
                                        "end": {
                                          "line": 72,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2493,
                                      2553
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 70,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 72,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    2480,
                                    2553
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 70,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 72,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2476,
                                2554
                              ],
                              "loc": {
                                "start": {
                                  "line": 70,
                                  "column": 8
                                },
                                "end": {
                                  "line": 72,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "removeHandler",
                                    "range": [
                                      2567,
                                      2580
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 73,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 73,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "handler",
                                        "range": [
                                          2593,
                                          2600
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 73,
                                            "column": 38
                                          },
                                          "end": {
                                            "line": 73,
                                            "column": 45
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "target",
                                              "range": [
                                                2616,
                                                2622
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 74,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 74,
                                                  "column": 18
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Literal",
                                              "value": null,
                                              "raw": "null",
                                              "range": [
                                                2625,
                                                2629
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 74,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 74,
                                                  "column": 25
                                                }
                                              }
                                            },
                                            "range": [
                                              2616,
                                              2629
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 74,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 74,
                                                "column": 25
                                              }
                                            }
                                          },
                                          "range": [
                                            2616,
                                            2630
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 74,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 74,
                                              "column": 26
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2602,
                                        2640
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 73,
                                          "column": 47
                                        },
                                        "end": {
                                          "line": 75,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2583,
                                      2640
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 73,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 75,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    2567,
                                    2640
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 73,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 75,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2563,
                                2641
                              ],
                              "loc": {
                                "start": {
                                  "line": 73,
                                  "column": 8
                                },
                                "end": {
                                  "line": 75,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "selector",
                                    "range": [
                                      2654,
                                      2662
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 76,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 76,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "a",
                                        "range": [
                                          2675,
                                          2676
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 76,
                                            "column": 33
                                          },
                                          "end": {
                                            "line": 76,
                                            "column": 34
                                          }
                                        }
                                      },
                                      {
                                        "type": "Identifier",
                                        "name": "b",
                                        "range": [
                                          2678,
                                          2679
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 76,
                                            "column": 36
                                          },
                                          "end": {
                                            "line": 76,
                                            "column": 37
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ReturnStatement",
                                          "argument": {
                                            "type": "BinaryExpression",
                                            "operator": "+",
                                            "left": {
                                              "type": "BinaryExpression",
                                              "operator": "+",
                                              "left": {
                                                "type": "Identifier",
                                                "name": "a",
                                                "range": [
                                                  2702,
                                                  2703
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 77,
                                                    "column": 19
                                                  },
                                                  "end": {
                                                    "line": 77,
                                                    "column": 20
                                                  }
                                                }
                                              },
                                              "right": {
                                                "type": "Identifier",
                                                "name": "b",
                                                "range": [
                                                  2706,
                                                  2707
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 77,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 77,
                                                    "column": 24
                                                  }
                                                }
                                              },
                                              "range": [
                                                2702,
                                                2707
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 77,
                                                  "column": 19
                                                },
                                                "end": {
                                                  "line": 77,
                                                  "column": 24
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Literal",
                                              "value": "!",
                                              "raw": "'!'",
                                              "range": [
                                                2710,
                                                2713
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 77,
                                                  "column": 27
                                                },
                                                "end": {
                                                  "line": 77,
                                                  "column": 30
                                                }
                                              }
                                            },
                                            "range": [
                                              2702,
                                              2713
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 77,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 77,
                                                "column": 30
                                              }
                                            }
                                          },
                                          "range": [
                                            2695,
                                            2714
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 77,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 77,
                                              "column": 31
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2681,
                                        2724
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 76,
                                          "column": 39
                                        },
                                        "end": {
                                          "line": 78,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2665,
                                      2724
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 76,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 78,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    2654,
                                    2724
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 76,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 78,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2650,
                                2725
                              ],
                              "loc": {
                                "start": {
                                  "line": 76,
                                  "column": 8
                                },
                                "end": {
                                  "line": 78,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              2734,
                                              2744
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "fromEventPattern",
                                            "range": [
                                              2745,
                                              2761
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 35
                                              }
                                            }
                                          },
                                          "range": [
                                            2734,
                                            2761
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 79,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 79,
                                              "column": 35
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "name": "addHandler",
                                            "range": [
                                              2762,
                                              2772
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 36
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 46
                                              }
                                            }
                                          },
                                          {
                                            "type": "Identifier",
                                            "name": "removeHandler",
                                            "range": [
                                              2774,
                                              2787
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 48
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 61
                                              }
                                            }
                                          },
                                          {
                                            "type": "Identifier",
                                            "name": "selector",
                                            "range": [
                                              2789,
                                              2797
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 63
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 71
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          2734,
                                          2798
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 79,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 79,
                                            "column": 72
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "take",
                                        "range": [
                                          2799,
                                          2803
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 79,
                                            "column": 73
                                          },
                                          "end": {
                                            "line": 79,
                                            "column": 77
                                          }
                                        }
                                      },
                                      "range": [
                                        2734,
                                        2803
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 79,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 79,
                                          "column": 77
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Literal",
                                        "value": 1,
                                        "raw": "1",
                                        "range": [
                                          2804,
                                          2805
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 79,
                                            "column": 78
                                          },
                                          "end": {
                                            "line": 79,
                                            "column": 79
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      2734,
                                      2806
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 79,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 79,
                                        "column": 80
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      2820,
                                      2829
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "range": [
                                    2734,
                                    2829
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 79,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 80,
                                      "column": 22
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          2840,
                                          2841
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 80,
                                            "column": 33
                                          },
                                          "end": {
                                            "line": 80,
                                            "column": 34
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "chai_1",
                                                      "range": [
                                                        2857,
                                                        2863
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 81,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 81,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        2864,
                                                        2870
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 81,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 81,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2857,
                                                      2870
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 81,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 81,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        2871,
                                                        2872
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 81,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 81,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    2857,
                                                    2873
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 81,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 81,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    2874,
                                                    2876
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 81,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 81,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2857,
                                                  2876
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 81,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 81,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  2877,
                                                  2882
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 81,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 81,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                2857,
                                                2882
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 81,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 81,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": "testme!",
                                                "raw": "'testme!'",
                                                "range": [
                                                  2883,
                                                  2892
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 81,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 81,
                                                    "column": 47
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2857,
                                              2893
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 81,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 81,
                                                "column": 48
                                              }
                                            }
                                          },
                                          "range": [
                                            2857,
                                            2894
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 81,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 81,
                                              "column": 49
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2843,
                                        2904
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 80,
                                          "column": 36
                                        },
                                        "end": {
                                          "line": 82,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2830,
                                      2904
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 82,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "err",
                                        "range": [
                                          2916,
                                          2919
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 82,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 82,
                                            "column": 24
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2935,
                                                2939
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 83,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 83,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    2944,
                                                    2949
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 83,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 83,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      2950,
                                                      2972
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 83,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 83,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  2940,
                                                  2973
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 83,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 83,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2935,
                                              2974
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 83,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 83,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            2935,
                                            2975
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 83,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 83,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2921,
                                        2985
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 82,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 84,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2906,
                                      2985
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 82,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 84,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                3013,
                                                3017
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 85,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 85,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              3013,
                                              3019
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 85,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 85,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            3013,
                                            3020
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 85,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 85,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2999,
                                        3030
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 84,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 86,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2987,
                                      3030
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 84,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 86,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2734,
                                  3031
                                ],
                                "loc": {
                                  "start": {
                                    "line": 79,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 86,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                2734,
                                3032
                              ],
                              "loc": {
                                "start": {
                                  "line": 79,
                                  "column": 8
                                },
                                "end": {
                                  "line": 86,
                                  "column": 11
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "Identifier",
                                  "name": "trigger",
                                  "range": [
                                    3041,
                                    3048
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 87,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 87,
                                      "column": 15
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": "test",
                                    "raw": "'test'",
                                    "range": [
                                      3049,
                                      3055
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 87,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 87,
                                        "column": 22
                                      }
                                    }
                                  },
                                  {
                                    "type": "Literal",
                                    "value": "me",
                                    "raw": "'me'",
                                    "range": [
                                      3057,
                                      3061
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 87,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 87,
                                        "column": 28
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3041,
                                  3062
                                ],
                                "loc": {
                                  "start": {
                                    "line": 87,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 87,
                                    "column": 29
                                  }
                                }
                              },
                              "range": [
                                3041,
                                3063
                              ],
                              "loc": {
                                "start": {
                                  "line": 87,
                                  "column": 8
                                },
                                "end": {
                                  "line": 87,
                                  "column": 30
                                }
                              }
                            }
                          ],
                          "range": [
                            2165,
                            3069
                          ],
                          "loc": {
                            "start": {
                              "line": 59,
                              "column": 77
                            },
                            "end": {
                              "line": 88,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          2149,
                          3069
                        ],
                        "loc": {
                          "start": {
                            "line": 59,
                            "column": 61
                          },
                          "end": {
                            "line": 88,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      2092,
                      3070
                    ],
                    "loc": {
                      "start": {
                        "line": 59,
                        "column": 4
                      },
                      "end": {
                        "line": 88,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 381,
                    "_esdocTestName": "it381"
                  },
                  "range": [
                    2092,
                    3071
                  ],
                  "loc": {
                    "start": {
                      "line": 59,
                      "column": 4
                    },
                    "end": {
                      "line": 88,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        3076,
                        3078
                      ],
                      "loc": {
                        "start": {
                          "line": 89,
                          "column": 4
                        },
                        "end": {
                          "line": 89,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should send errors in the selector down the error path",
                        "raw": "'should send errors in the selector down the error path'",
                        "range": [
                          3079,
                          3135
                        ],
                        "loc": {
                          "start": {
                            "line": 89,
                            "column": 7
                          },
                          "end": {
                            "line": 89,
                            "column": 63
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              3147,
                              3151
                            ],
                            "loc": {
                              "start": {
                                "line": 89,
                                "column": 75
                              },
                              "end": {
                                "line": 89,
                                "column": 79
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "target",
                                    "range": [
                                      3167,
                                      3173
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 90,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 90,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "init": null,
                                  "range": [
                                    3167,
                                    3173
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 90,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 90,
                                      "column": 18
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3163,
                                3174
                              ],
                              "loc": {
                                "start": {
                                  "line": 90,
                                  "column": 8
                                },
                                "end": {
                                  "line": 90,
                                  "column": 19
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "trigger",
                                    "range": [
                                      3187,
                                      3194
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "value",
                                        "range": [
                                          3207,
                                          3212
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 91,
                                            "column": 32
                                          },
                                          "end": {
                                            "line": 91,
                                            "column": 37
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "IfStatement",
                                          "test": {
                                            "type": "Identifier",
                                            "name": "target",
                                            "range": [
                                              3232,
                                              3238
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 92,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 92,
                                                "column": 22
                                              }
                                            }
                                          },
                                          "consequent": {
                                            "type": "BlockStatement",
                                            "body": [
                                              {
                                                "type": "ExpressionStatement",
                                                "expression": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "name": "target",
                                                    "range": [
                                                      3258,
                                                      3264
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 93,
                                                        "column": 16
                                                      },
                                                      "end": {
                                                        "line": 93,
                                                        "column": 22
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "value",
                                                      "range": [
                                                        3265,
                                                        3270
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 93,
                                                          "column": 23
                                                        },
                                                        "end": {
                                                          "line": 93,
                                                          "column": 28
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    3258,
                                                    3271
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 93,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 93,
                                                      "column": 29
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  3258,
                                                  3272
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 93,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 93,
                                                    "column": 30
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              3240,
                                              3286
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 92,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 94,
                                                "column": 13
                                              }
                                            }
                                          },
                                          "alternate": null,
                                          "range": [
                                            3228,
                                            3286
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 92,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 94,
                                              "column": 13
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3214,
                                        3296
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 91,
                                          "column": 39
                                        },
                                        "end": {
                                          "line": 95,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3197,
                                      3296
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 95,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    3187,
                                    3296
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 91,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 95,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3183,
                                3297
                              ],
                              "loc": {
                                "start": {
                                  "line": 91,
                                  "column": 8
                                },
                                "end": {
                                  "line": 95,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "addHandler",
                                    "range": [
                                      3310,
                                      3320
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 96,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 96,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "handler",
                                        "range": [
                                          3333,
                                          3340
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 96,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 96,
                                            "column": 42
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "target",
                                              "range": [
                                                3356,
                                                3362
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 97,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 97,
                                                  "column": 18
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Identifier",
                                              "name": "handler",
                                              "range": [
                                                3365,
                                                3372
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 97,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 97,
                                                  "column": 28
                                                }
                                              }
                                            },
                                            "range": [
                                              3356,
                                              3372
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 97,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 97,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "range": [
                                            3356,
                                            3373
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 97,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 97,
                                              "column": 29
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3342,
                                        3383
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 96,
                                          "column": 44
                                        },
                                        "end": {
                                          "line": 98,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3323,
                                      3383
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 96,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 98,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    3310,
                                    3383
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 96,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 98,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3306,
                                3384
                              ],
                              "loc": {
                                "start": {
                                  "line": 96,
                                  "column": 8
                                },
                                "end": {
                                  "line": 98,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "removeHandler",
                                    "range": [
                                      3397,
                                      3410
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 99,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 99,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "handler",
                                        "range": [
                                          3423,
                                          3430
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 99,
                                            "column": 38
                                          },
                                          "end": {
                                            "line": 99,
                                            "column": 45
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "AssignmentExpression",
                                            "operator": "=",
                                            "left": {
                                              "type": "Identifier",
                                              "name": "target",
                                              "range": [
                                                3446,
                                                3452
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 100,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 100,
                                                  "column": 18
                                                }
                                              }
                                            },
                                            "right": {
                                              "type": "Literal",
                                              "value": null,
                                              "raw": "null",
                                              "range": [
                                                3455,
                                                3459
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 100,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 100,
                                                  "column": 25
                                                }
                                              }
                                            },
                                            "range": [
                                              3446,
                                              3459
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 100,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 100,
                                                "column": 25
                                              }
                                            }
                                          },
                                          "range": [
                                            3446,
                                            3460
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 100,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 100,
                                              "column": 26
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3432,
                                        3470
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 99,
                                          "column": 47
                                        },
                                        "end": {
                                          "line": 101,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3413,
                                      3470
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 99,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 101,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    3397,
                                    3470
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 99,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 101,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3393,
                                3471
                              ],
                              "loc": {
                                "start": {
                                  "line": 99,
                                  "column": 8
                                },
                                "end": {
                                  "line": 101,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "selector",
                                    "range": [
                                      3484,
                                      3492
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 102,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 102,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          3505,
                                          3506
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 102,
                                            "column": 33
                                          },
                                          "end": {
                                            "line": 102,
                                            "column": 34
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ThrowStatement",
                                          "argument": {
                                            "type": "Literal",
                                            "value": "bad",
                                            "raw": "'bad'",
                                            "range": [
                                              3528,
                                              3533
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 103,
                                                "column": 18
                                              },
                                              "end": {
                                                "line": 103,
                                                "column": 23
                                              }
                                            }
                                          },
                                          "range": [
                                            3522,
                                            3534
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 103,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 103,
                                              "column": 24
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3508,
                                        3544
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 102,
                                          "column": 36
                                        },
                                        "end": {
                                          "line": 104,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3495,
                                      3544
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 102,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 104,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "range": [
                                    3484,
                                    3544
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 102,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 104,
                                      "column": 9
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3480,
                                3545
                              ],
                              "loc": {
                                "start": {
                                  "line": 102,
                                  "column": 8
                                },
                                "end": {
                                  "line": 104,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          3554,
                                          3564
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 105,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 105,
                                            "column": 18
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "fromEventPattern",
                                        "range": [
                                          3565,
                                          3581
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 105,
                                            "column": 19
                                          },
                                          "end": {
                                            "line": 105,
                                            "column": 35
                                          }
                                        }
                                      },
                                      "range": [
                                        3554,
                                        3581
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 105,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 105,
                                          "column": 35
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "addHandler",
                                        "range": [
                                          3582,
                                          3592
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 105,
                                            "column": 36
                                          },
                                          "end": {
                                            "line": 105,
                                            "column": 46
                                          }
                                        }
                                      },
                                      {
                                        "type": "Identifier",
                                        "name": "removeHandler",
                                        "range": [
                                          3594,
                                          3607
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 105,
                                            "column": 48
                                          },
                                          "end": {
                                            "line": 105,
                                            "column": 61
                                          }
                                        }
                                      },
                                      {
                                        "type": "Identifier",
                                        "name": "selector",
                                        "range": [
                                          3609,
                                          3617
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 105,
                                            "column": 63
                                          },
                                          "end": {
                                            "line": 105,
                                            "column": 71
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      3554,
                                      3618
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 105,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 105,
                                        "column": 72
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      3632,
                                      3641
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 106,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 106,
                                        "column": 22
                                      }
                                    }
                                  },
                                  "range": [
                                    3554,
                                    3641
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 105,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 106,
                                      "column": 22
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          3652,
                                          3653
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 106,
                                            "column": 33
                                          },
                                          "end": {
                                            "line": 106,
                                            "column": 34
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                3669,
                                                3673
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 107,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 107,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    3678,
                                                    3683
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 107,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 107,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      3684,
                                                      3706
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 107,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 107,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  3674,
                                                  3707
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 107,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 107,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              3669,
                                              3708
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 107,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 107,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            3669,
                                            3709
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 107,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 107,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3655,
                                        3719
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 106,
                                          "column": 36
                                        },
                                        "end": {
                                          "line": 108,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3642,
                                      3719
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 106,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 108,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "err",
                                        "range": [
                                          3731,
                                          3734
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 108,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 108,
                                            "column": 24
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "chai_1",
                                                      "range": [
                                                        3750,
                                                        3756
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 109,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 109,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        3757,
                                                        3763
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 109,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 109,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      3750,
                                                      3763
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 109,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 109,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "err",
                                                      "range": [
                                                        3764,
                                                        3767
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 109,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 109,
                                                          "column": 29
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    3750,
                                                    3768
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 109,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 109,
                                                      "column": 30
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    3769,
                                                    3771
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 109,
                                                      "column": 31
                                                    },
                                                    "end": {
                                                      "line": 109,
                                                      "column": 33
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  3750,
                                                  3771
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 109,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 109,
                                                    "column": 33
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  3772,
                                                  3777
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 109,
                                                    "column": 34
                                                  },
                                                  "end": {
                                                    "line": 109,
                                                    "column": 39
                                                  }
                                                }
                                              },
                                              "range": [
                                                3750,
                                                3777
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 109,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 109,
                                                  "column": 39
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": "bad",
                                                "raw": "'bad'",
                                                "range": [
                                                  3778,
                                                  3783
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 109,
                                                    "column": 40
                                                  },
                                                  "end": {
                                                    "line": 109,
                                                    "column": 45
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              3750,
                                              3784
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 109,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 109,
                                                "column": 46
                                              }
                                            }
                                          },
                                          "range": [
                                            3750,
                                            3785
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 109,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 109,
                                              "column": 47
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                3798,
                                                3802
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 110,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 110,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              3798,
                                              3804
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 110,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 110,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            3798,
                                            3805
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 110,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 110,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3736,
                                        3815
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 108,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 111,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3721,
                                      3815
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 108,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 111,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                3843,
                                                3847
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 112,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 112,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    3852,
                                                    3857
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 112,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 112,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      3858,
                                                      3880
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 112,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 112,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  3848,
                                                  3881
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 112,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 112,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              3843,
                                              3882
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 112,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 112,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            3843,
                                            3883
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 112,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 112,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3829,
                                        3893
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 111,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 113,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      3817,
                                      3893
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 111,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 113,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3554,
                                  3894
                                ],
                                "loc": {
                                  "start": {
                                    "line": 105,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 113,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                3554,
                                3895
                              ],
                              "loc": {
                                "start": {
                                  "line": 105,
                                  "column": 8
                                },
                                "end": {
                                  "line": 113,
                                  "column": 11
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "Identifier",
                                  "name": "trigger",
                                  "range": [
                                    3904,
                                    3911
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 114,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 114,
                                      "column": 15
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": "test",
                                    "raw": "'test'",
                                    "range": [
                                      3912,
                                      3918
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 114,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 114,
                                        "column": 22
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3904,
                                  3919
                                ],
                                "loc": {
                                  "start": {
                                    "line": 114,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 114,
                                    "column": 23
                                  }
                                }
                              },
                              "range": [
                                3904,
                                3920
                              ],
                              "loc": {
                                "start": {
                                  "line": 114,
                                  "column": 8
                                },
                                "end": {
                                  "line": 114,
                                  "column": 24
                                }
                              }
                            }
                          ],
                          "range": [
                            3153,
                            3926
                          ],
                          "loc": {
                            "start": {
                              "line": 89,
                              "column": 81
                            },
                            "end": {
                              "line": 115,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          3137,
                          3926
                        ],
                        "loc": {
                          "start": {
                            "line": 89,
                            "column": 65
                          },
                          "end": {
                            "line": 115,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      3076,
                      3927
                    ],
                    "loc": {
                      "start": {
                        "line": 89,
                        "column": 4
                      },
                      "end": {
                        "line": 115,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 382,
                    "_esdocTestName": "it382"
                  },
                  "range": [
                    3076,
                    3928
                  ],
                  "loc": {
                    "start": {
                      "line": 89,
                      "column": 4
                    },
                    "end": {
                      "line": 115,
                      "column": 7
                    }
                  }
                }
              ],
              "range": [
                199,
                3930
              ],
              "loc": {
                "start": {
                  "line": 6,
                  "column": 52
                },
                "end": {
                  "line": 116,
                  "column": 1
                }
              }
            },
            "generator": false,
            "expression": false,
            "range": [
              187,
              3930
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 40
              },
              "end": {
                "line": 116,
                "column": 1
              }
            }
          }
        ],
        "range": [
          147,
          3931
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 0
          },
          "end": {
            "line": 116,
            "column": 2
          }
        },
        "_esdocTestId": 377,
        "_esdocTestName": "describe377"
      },
      "range": [
        147,
        3932
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 116,
          "column": 3
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "* @test {fromEventPattern} ",
          "range": [
            115,
            146
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 31
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=fromEventPattern-spec.js.map",
          "range": [
            3933,
            3982
          ],
          "loc": {
            "start": {
              "line": 117,
              "column": 0
            },
            "end": {
              "line": 117,
              "column": 49
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    3932
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 116,
      "column": 3
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "* @test {fromEventPattern} ",
      "range": [
        115,
        146
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 31
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        988,
        994
      ],
      "loc": {
        "start": {
          "line": 25,
          "column": 12
        },
        "end": {
          "line": 25,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        1118,
        1124
      ],
      "loc": {
        "start": {
          "line": 29,
          "column": 12
        },
        "end": {
          "line": 29,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        1366,
        1372
      ],
      "loc": {
        "start": {
          "line": 36,
          "column": 12
        },
        "end": {
          "line": 36,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        1610,
        1616
      ],
      "loc": {
        "start": {
          "line": 43,
          "column": 12
        },
        "end": {
          "line": 43,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        1931,
        1937
      ],
      "loc": {
        "start": {
          "line": 52,
          "column": 12
        },
        "end": {
          "line": 52,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "noop",
      "range": [
        1985,
        1991
      ],
      "loc": {
        "start": {
          "line": 54,
          "column": 12
        },
        "end": {
          "line": 54,
          "column": 18
        }
      }
    },
    {
      "type": "Line",
      "value": "# sourceMappingURL=fromEventPattern-spec.js.map",
      "range": [
        3933,
        3982
      ],
      "loc": {
        "start": {
          "line": 117,
          "column": 0
        },
        "end": {
          "line": 117,
          "column": 49
        }
      }
    }
  ]
}