{
  "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
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "Subscription",
            "range": [
              119,
              131
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 4
              },
              "end": {
                "line": 5,
                "column": 16
              }
            }
          },
          "init": {
            "type": "MemberExpression",
            "computed": false,
            "object": {
              "type": "Identifier",
              "name": "Rx",
              "range": [
                134,
                136
              ],
              "loc": {
                "start": {
                  "line": 5,
                  "column": 19
                },
                "end": {
                  "line": 5,
                  "column": 21
                }
              }
            },
            "property": {
              "type": "Identifier",
              "name": "Subscription",
              "range": [
                137,
                149
              ],
              "loc": {
                "start": {
                  "line": 5,
                  "column": 22
                },
                "end": {
                  "line": 5,
                  "column": 34
                }
              }
            },
            "range": [
              134,
              149
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 19
              },
              "end": {
                "line": 5,
                "column": 34
              }
            }
          },
          "range": [
            119,
            149
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 4
            },
            "end": {
              "line": 5,
              "column": 34
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        115,
        150
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 35
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "describe",
          "range": [
            151,
            159
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 0
            },
            "end": {
              "line": 6,
              "column": 8
            }
          }
        },
        "arguments": [
          {
            "type": "Literal",
            "value": "Observable.using",
            "raw": "'Observable.using'",
            "range": [
              160,
              178
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 9
              },
              "end": {
                "line": 6,
                "column": 27
              }
            }
          },
          {
            "type": "FunctionExpression",
            "id": null,
            "params": [],
            "body": {
              "type": "BlockStatement",
              "body": [
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        198,
                        200
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 4
                        },
                        "end": {
                          "line": 7,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should dispose of the resource when the subscription is disposed",
                        "raw": "'should dispose of the resource when the subscription is disposed'",
                        "range": [
                          201,
                          267
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 7
                          },
                          "end": {
                            "line": 7,
                            "column": 73
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              279,
                              283
                            ],
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 85
                              },
                              "end": {
                                "line": 7,
                                "column": 89
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "disposed",
                                    "range": [
                                      299,
                                      307
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 8,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 8,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": false,
                                    "raw": "false",
                                    "range": [
                                      310,
                                      315
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 8,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 8,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "range": [
                                    299,
                                    315
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 8,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 8,
                                      "column": 28
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                295,
                                316
                              ],
                              "loc": {
                                "start": {
                                  "line": 8,
                                  "column": 8
                                },
                                "end": {
                                  "line": 8,
                                  "column": 29
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      329,
                                      335
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 9,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 9,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              338,
                                              348
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 21
                                              },
                                              "end": {
                                                "line": 9,
                                                "column": 31
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "using",
                                            "range": [
                                              349,
                                              354
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 32
                                              },
                                              "end": {
                                                "line": 9,
                                                "column": 37
                                              }
                                            }
                                          },
                                          "range": [
                                            338,
                                            354
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 9,
                                              "column": 21
                                            },
                                            "end": {
                                              "line": 9,
                                              "column": 37
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "FunctionExpression",
                                            "id": null,
                                            "params": [],
                                            "body": {
                                              "type": "BlockStatement",
                                              "body": [
                                                {
                                                  "type": "ReturnStatement",
                                                  "argument": {
                                                    "type": "NewExpression",
                                                    "callee": {
                                                      "type": "Identifier",
                                                      "name": "Subscription",
                                                      "range": [
                                                        380,
                                                        392
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 63
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 75
                                                        }
                                                      }
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "FunctionExpression",
                                                        "id": null,
                                                        "params": [],
                                                        "body": {
                                                          "type": "BlockStatement",
                                                          "body": [
                                                            {
                                                              "type": "ReturnStatement",
                                                              "argument": {
                                                                "type": "AssignmentExpression",
                                                                "operator": "=",
                                                                "left": {
                                                                  "type": "Identifier",
                                                                  "name": "disposed",
                                                                  "range": [
                                                                    414,
                                                                    422
                                                                  ],
                                                                  "loc": {
                                                                    "start": {
                                                                      "line": 9,
                                                                      "column": 97
                                                                    },
                                                                    "end": {
                                                                      "line": 9,
                                                                      "column": 105
                                                                    }
                                                                  }
                                                                },
                                                                "right": {
                                                                  "type": "Literal",
                                                                  "value": true,
                                                                  "raw": "true",
                                                                  "range": [
                                                                    425,
                                                                    429
                                                                  ],
                                                                  "loc": {
                                                                    "start": {
                                                                      "line": 9,
                                                                      "column": 108
                                                                    },
                                                                    "end": {
                                                                      "line": 9,
                                                                      "column": 112
                                                                    }
                                                                  }
                                                                },
                                                                "range": [
                                                                  414,
                                                                  429
                                                                ],
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 9,
                                                                    "column": 97
                                                                  },
                                                                  "end": {
                                                                    "line": 9,
                                                                    "column": 112
                                                                  }
                                                                }
                                                              },
                                                              "range": [
                                                                407,
                                                                430
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 9,
                                                                  "column": 90
                                                                },
                                                                "end": {
                                                                  "line": 9,
                                                                  "column": 113
                                                                }
                                                              }
                                                            }
                                                          ],
                                                          "range": [
                                                            405,
                                                            432
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 9,
                                                              "column": 88
                                                            },
                                                            "end": {
                                                              "line": 9,
                                                              "column": 115
                                                            }
                                                          }
                                                        },
                                                        "generator": false,
                                                        "expression": false,
                                                        "range": [
                                                          393,
                                                          432
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 76
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 115
                                                          }
                                                        }
                                                      }
                                                    ],
                                                    "range": [
                                                      376,
                                                      433
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 9,
                                                        "column": 59
                                                      },
                                                      "end": {
                                                        "line": 9,
                                                        "column": 116
                                                      }
                                                    }
                                                  },
                                                  "range": [
                                                    369,
                                                    434
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 9,
                                                      "column": 52
                                                    },
                                                    "end": {
                                                      "line": 9,
                                                      "column": 117
                                                    }
                                                  }
                                                }
                                              ],
                                              "range": [
                                                367,
                                                436
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 9,
                                                  "column": 50
                                                },
                                                "end": {
                                                  "line": 9,
                                                  "column": 119
                                                }
                                              }
                                            },
                                            "generator": false,
                                            "expression": false,
                                            "range": [
                                              355,
                                              436
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 38
                                              },
                                              "end": {
                                                "line": 9,
                                                "column": 119
                                              }
                                            }
                                          },
                                          {
                                            "type": "FunctionExpression",
                                            "id": null,
                                            "params": [
                                              {
                                                "type": "Identifier",
                                                "name": "resource",
                                                "range": [
                                                  448,
                                                  456
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 9,
                                                    "column": 131
                                                  },
                                                  "end": {
                                                    "line": 9,
                                                    "column": 139
                                                  }
                                                }
                                              }
                                            ],
                                            "body": {
                                              "type": "BlockStatement",
                                              "body": [
                                                {
                                                  "type": "ReturnStatement",
                                                  "argument": {
                                                    "type": "CallExpression",
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "computed": false,
                                                      "object": {
                                                        "type": "Identifier",
                                                        "name": "Observable",
                                                        "range": [
                                                          467,
                                                          477
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 150
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 160
                                                          }
                                                        }
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "name": "range",
                                                        "range": [
                                                          478,
                                                          483
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 161
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 166
                                                          }
                                                        }
                                                      },
                                                      "range": [
                                                        467,
                                                        483
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 150
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 166
                                                        }
                                                      }
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Literal",
                                                        "value": 0,
                                                        "raw": "0",
                                                        "range": [
                                                          484,
                                                          485
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 167
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 168
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "type": "Literal",
                                                        "value": 3,
                                                        "raw": "3",
                                                        "range": [
                                                          487,
                                                          488
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 9,
                                                            "column": 170
                                                          },
                                                          "end": {
                                                            "line": 9,
                                                            "column": 171
                                                          }
                                                        }
                                                      }
                                                    ],
                                                    "range": [
                                                      467,
                                                      489
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 9,
                                                        "column": 150
                                                      },
                                                      "end": {
                                                        "line": 9,
                                                        "column": 172
                                                      }
                                                    }
                                                  },
                                                  "range": [
                                                    460,
                                                    490
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 9,
                                                      "column": 143
                                                    },
                                                    "end": {
                                                      "line": 9,
                                                      "column": 173
                                                    }
                                                  }
                                                }
                                              ],
                                              "range": [
                                                458,
                                                492
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 9,
                                                  "column": 141
                                                },
                                                "end": {
                                                  "line": 9,
                                                  "column": 175
                                                }
                                              }
                                            },
                                            "generator": false,
                                            "expression": false,
                                            "range": [
                                              438,
                                              492
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 121
                                              },
                                              "end": {
                                                "line": 9,
                                                "column": 175
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          338,
                                          493
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 9,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 9,
                                            "column": 176
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "take",
                                        "range": [
                                          507,
                                          511
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 10,
                                            "column": 13
                                          },
                                          "end": {
                                            "line": 10,
                                            "column": 17
                                          }
                                        }
                                      },
                                      "range": [
                                        338,
                                        511
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 9,
                                          "column": 21
                                        },
                                        "end": {
                                          "line": 10,
                                          "column": 17
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Literal",
                                        "value": 2,
                                        "raw": "2",
                                        "range": [
                                          512,
                                          513
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 10,
                                            "column": 18
                                          },
                                          "end": {
                                            "line": 10,
                                            "column": 19
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      338,
                                      514
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 9,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 10,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "range": [
                                    329,
                                    514
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 9,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 10,
                                      "column": 20
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                325,
                                515
                              ],
                              "loc": {
                                "start": {
                                  "line": 9,
                                  "column": 8
                                },
                                "end": {
                                  "line": 10,
                                  "column": 21
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      524,
                                      530
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      531,
                                      540
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 15
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "range": [
                                    524,
                                    540
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 24
                                    }
                                  }
                                },
                                "arguments": [],
                                "range": [
                                  524,
                                  542
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 26
                                  }
                                }
                              },
                              "range": [
                                524,
                                543
                              ],
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 8
                                },
                                "end": {
                                  "line": 11,
                                  "column": 27
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "Identifier",
                                "name": "disposed",
                                "range": [
                                  556,
                                  564
                                ],
                                "loc": {
                                  "start": {
                                    "line": 12,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 12,
                                    "column": 20
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "Identifier",
                                        "name": "done",
                                        "range": [
                                          580,
                                          584
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 13,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 13,
                                            "column": 16
                                          }
                                        }
                                      },
                                      "arguments": [],
                                      "range": [
                                        580,
                                        586
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 13,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 13,
                                          "column": 18
                                        }
                                      }
                                    },
                                    "range": [
                                      580,
                                      587
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 13,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 13,
                                        "column": 19
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  566,
                                  597
                                ],
                                "loc": {
                                  "start": {
                                    "line": 12,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 14,
                                    "column": 9
                                  }
                                }
                              },
                              "alternate": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "Identifier",
                                        "name": "done",
                                        "range": [
                                          625,
                                          629
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 16
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "NewExpression",
                                          "callee": {
                                            "type": "Identifier",
                                            "name": "Error",
                                            "range": [
                                              634,
                                              639
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 16,
                                                "column": 21
                                              },
                                              "end": {
                                                "line": 16,
                                                "column": 26
                                              }
                                            }
                                          },
                                          "arguments": [
                                            {
                                              "type": "Literal",
                                              "value": "disposed should be true but was false",
                                              "raw": "'disposed should be true but was false'",
                                              "range": [
                                                640,
                                                679
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 16,
                                                  "column": 27
                                                },
                                                "end": {
                                                  "line": 16,
                                                  "column": 66
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            630,
                                            680
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 16,
                                              "column": 17
                                            },
                                            "end": {
                                              "line": 16,
                                              "column": 67
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        625,
                                        681
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 16,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 16,
                                          "column": 68
                                        }
                                      }
                                    },
                                    "range": [
                                      625,
                                      682
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 69
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  611,
                                  692
                                ],
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 13
                                  },
                                  "end": {
                                    "line": 17,
                                    "column": 9
                                  }
                                }
                              },
                              "range": [
                                552,
                                692
                              ],
                              "loc": {
                                "start": {
                                  "line": 12,
                                  "column": 8
                                },
                                "end": {
                                  "line": 17,
                                  "column": 9
                                }
                              }
                            }
                          ],
                          "range": [
                            285,
                            698
                          ],
                          "loc": {
                            "start": {
                              "line": 7,
                              "column": 91
                            },
                            "end": {
                              "line": 18,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          269,
                          698
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 75
                          },
                          "end": {
                            "line": 18,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      198,
                      699
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 4
                      },
                      "end": {
                        "line": 18,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 491,
                    "_esdocTestName": "it491"
                  },
                  "range": [
                    198,
                    700
                  ],
                  "loc": {
                    "start": {
                      "line": 7,
                      "column": 4
                    },
                    "end": {
                      "line": 18,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        705,
                        707
                      ],
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 4
                        },
                        "end": {
                          "line": 19,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should accept factory returns promise resolves",
                        "raw": "'should accept factory returns promise resolves'",
                        "range": [
                          708,
                          756
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 7
                          },
                          "end": {
                            "line": 19,
                            "column": 55
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              768,
                              772
                            ],
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 67
                              },
                              "end": {
                                "line": 19,
                                "column": 71
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "expected",
                                    "range": [
                                      788,
                                      796
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": 42,
                                    "raw": "42",
                                    "range": [
                                      799,
                                      801
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "range": [
                                    788,
                                    801
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 20,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 20,
                                      "column": 25
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                784,
                                802
                              ],
                              "loc": {
                                "start": {
                                  "line": 20,
                                  "column": 8
                                },
                                "end": {
                                  "line": 20,
                                  "column": 26
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "disposed",
                                    "range": [
                                      815,
                                      823
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": false,
                                    "raw": "false",
                                    "range": [
                                      826,
                                      831
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "range": [
                                    815,
                                    831
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 28
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                811,
                                832
                              ],
                              "loc": {
                                "start": {
                                  "line": 21,
                                  "column": 8
                                },
                                "end": {
                                  "line": 21,
                                  "column": 29
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "e1",
                                    "range": [
                                      845,
                                      847
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          850,
                                          860
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 27
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "using",
                                        "range": [
                                          861,
                                          866
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 28
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 33
                                          }
                                        }
                                      },
                                      "range": [
                                        850,
                                        866
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 22,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 22,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Subscription",
                                                  "range": [
                                                    892,
                                                    904
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 22,
                                                      "column": 59
                                                    },
                                                    "end": {
                                                      "line": 22,
                                                      "column": 71
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "FunctionExpression",
                                                    "id": null,
                                                    "params": [],
                                                    "body": {
                                                      "type": "BlockStatement",
                                                      "body": [
                                                        {
                                                          "type": "ReturnStatement",
                                                          "argument": {
                                                            "type": "AssignmentExpression",
                                                            "operator": "=",
                                                            "left": {
                                                              "type": "Identifier",
                                                              "name": "disposed",
                                                              "range": [
                                                                926,
                                                                934
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 22,
                                                                  "column": 93
                                                                },
                                                                "end": {
                                                                  "line": 22,
                                                                  "column": 101
                                                                }
                                                              }
                                                            },
                                                            "right": {
                                                              "type": "Literal",
                                                              "value": true,
                                                              "raw": "true",
                                                              "range": [
                                                                937,
                                                                941
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 22,
                                                                  "column": 104
                                                                },
                                                                "end": {
                                                                  "line": 22,
                                                                  "column": 108
                                                                }
                                                              }
                                                            },
                                                            "range": [
                                                              926,
                                                              941
                                                            ],
                                                            "loc": {
                                                              "start": {
                                                                "line": 22,
                                                                "column": 93
                                                              },
                                                              "end": {
                                                                "line": 22,
                                                                "column": 108
                                                              }
                                                            }
                                                          },
                                                          "range": [
                                                            919,
                                                            942
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 22,
                                                              "column": 86
                                                            },
                                                            "end": {
                                                              "line": 22,
                                                              "column": 109
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        917,
                                                        944
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 22,
                                                          "column": 84
                                                        },
                                                        "end": {
                                                          "line": 22,
                                                          "column": 111
                                                        }
                                                      }
                                                    },
                                                    "generator": false,
                                                    "expression": false,
                                                    "range": [
                                                      905,
                                                      944
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 22,
                                                        "column": 72
                                                      },
                                                      "end": {
                                                        "line": 22,
                                                        "column": 111
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  888,
                                                  945
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 22,
                                                    "column": 55
                                                  },
                                                  "end": {
                                                    "line": 22,
                                                    "column": 112
                                                  }
                                                }
                                              },
                                              "range": [
                                                881,
                                                946
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 22,
                                                  "column": 48
                                                },
                                                "end": {
                                                  "line": 22,
                                                  "column": 113
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            879,
                                            948
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 22,
                                              "column": 46
                                            },
                                            "end": {
                                              "line": 22,
                                              "column": 115
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          867,
                                          948
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 34
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 115
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "name": "resource",
                                            "range": [
                                              960,
                                              968
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 22,
                                                "column": 127
                                              },
                                              "end": {
                                                "line": 22,
                                                "column": 135
                                              }
                                            }
                                          }
                                        ],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Promise",
                                                  "range": [
                                                    983,
                                                    990
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 22,
                                                      "column": 150
                                                    },
                                                    "end": {
                                                      "line": 22,
                                                      "column": 157
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "FunctionExpression",
                                                    "id": null,
                                                    "params": [
                                                      {
                                                        "type": "Identifier",
                                                        "name": "resolve",
                                                        "range": [
                                                          1001,
                                                          1008
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 22,
                                                            "column": 168
                                                          },
                                                          "end": {
                                                            "line": 22,
                                                            "column": 175
                                                          }
                                                        }
                                                      }
                                                    ],
                                                    "body": {
                                                      "type": "BlockStatement",
                                                      "body": [
                                                        {
                                                          "type": "ExpressionStatement",
                                                          "expression": {
                                                            "type": "CallExpression",
                                                            "callee": {
                                                              "type": "Identifier",
                                                              "name": "resolve",
                                                              "range": [
                                                                1012,
                                                                1019
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 22,
                                                                  "column": 179
                                                                },
                                                                "end": {
                                                                  "line": 22,
                                                                  "column": 186
                                                                }
                                                              }
                                                            },
                                                            "arguments": [
                                                              {
                                                                "type": "Identifier",
                                                                "name": "expected",
                                                                "range": [
                                                                  1020,
                                                                  1028
                                                                ],
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 22,
                                                                    "column": 187
                                                                  },
                                                                  "end": {
                                                                    "line": 22,
                                                                    "column": 195
                                                                  }
                                                                }
                                                              }
                                                            ],
                                                            "range": [
                                                              1012,
                                                              1029
                                                            ],
                                                            "loc": {
                                                              "start": {
                                                                "line": 22,
                                                                "column": 179
                                                              },
                                                              "end": {
                                                                "line": 22,
                                                                "column": 196
                                                              }
                                                            }
                                                          },
                                                          "range": [
                                                            1012,
                                                            1030
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 22,
                                                              "column": 179
                                                            },
                                                            "end": {
                                                              "line": 22,
                                                              "column": 197
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        1010,
                                                        1032
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 22,
                                                          "column": 177
                                                        },
                                                        "end": {
                                                          "line": 22,
                                                          "column": 199
                                                        }
                                                      }
                                                    },
                                                    "generator": false,
                                                    "expression": false,
                                                    "range": [
                                                      991,
                                                      1032
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 22,
                                                        "column": 158
                                                      },
                                                      "end": {
                                                        "line": 22,
                                                        "column": 199
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  979,
                                                  1033
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 22,
                                                    "column": 146
                                                  },
                                                  "end": {
                                                    "line": 22,
                                                    "column": 200
                                                  }
                                                }
                                              },
                                              "range": [
                                                972,
                                                1034
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 22,
                                                  "column": 139
                                                },
                                                "end": {
                                                  "line": 22,
                                                  "column": 201
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            970,
                                            1036
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 22,
                                              "column": 137
                                            },
                                            "end": {
                                              "line": 22,
                                              "column": 203
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          950,
                                          1036
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 117
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 203
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      850,
                                      1037
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 204
                                      }
                                    }
                                  },
                                  "range": [
                                    845,
                                    1037
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 22,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 204
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                841,
                                1038
                              ],
                              "loc": {
                                "start": {
                                  "line": 22,
                                  "column": 8
                                },
                                "end": {
                                  "line": 22,
                                  "column": 205
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "e1",
                                    "range": [
                                      1047,
                                      1049
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      1050,
                                      1059
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "range": [
                                    1047,
                                    1059
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 20
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          1070,
                                          1071
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 23,
                                            "column": 31
                                          },
                                          "end": {
                                            "line": 23,
                                            "column": 32
                                          }
                                        }
                                      }
                                    ],
                                    "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": [
                                                        1087,
                                                        1093
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 24,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 24,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        1094,
                                                        1100
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 24,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 24,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      1087,
                                                      1100
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 24,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 24,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        1101,
                                                        1102
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 24,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 24,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    1087,
                                                    1103
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 24,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 24,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    1104,
                                                    1106
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 24,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 24,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1087,
                                                  1106
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 24,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 24,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  1107,
                                                  1112
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 24,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 24,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                1087,
                                                1112
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 24,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 24,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "name": "expected",
                                                "range": [
                                                  1113,
                                                  1121
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 24,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 24,
                                                    "column": 46
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1087,
                                              1122
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 24,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 24,
                                                "column": 47
                                              }
                                            }
                                          },
                                          "range": [
                                            1087,
                                            1123
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 24,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 24,
                                              "column": 48
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1073,
                                        1133
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 23,
                                          "column": 34
                                        },
                                        "end": {
                                          "line": 25,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1060,
                                      1133
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 25,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          1145,
                                          1146
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 25,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 25,
                                            "column": 22
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1162,
                                                1166
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 26,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 26,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    1171,
                                                    1176
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 26,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 26,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      1177,
                                                      1199
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  1167,
                                                  1200
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 26,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 26,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1162,
                                              1201
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 26,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 26,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            1162,
                                            1202
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 26,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 26,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1148,
                                        1212
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 25,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 27,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1135,
                                      1212
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 25,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 27,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1240,
                                                1244
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 28,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 28,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              1240,
                                              1246
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 28,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 28,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            1240,
                                            1247
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 28,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 28,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1226,
                                        1257
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 27,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 29,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1214,
                                      1257
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 27,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 29,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1047,
                                  1258
                                ],
                                "loc": {
                                  "start": {
                                    "line": 23,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                1047,
                                1259
                              ],
                              "loc": {
                                "start": {
                                  "line": 23,
                                  "column": 8
                                },
                                "end": {
                                  "line": 29,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            774,
                            1265
                          ],
                          "loc": {
                            "start": {
                              "line": 19,
                              "column": 73
                            },
                            "end": {
                              "line": 30,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          758,
                          1265
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 57
                          },
                          "end": {
                            "line": 30,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      705,
                      1266
                    ],
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 4
                      },
                      "end": {
                        "line": 30,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 492,
                    "_esdocTestName": "it492"
                  },
                  "range": [
                    705,
                    1267
                  ],
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 4
                    },
                    "end": {
                      "line": 30,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        1272,
                        1274
                      ],
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 4
                        },
                        "end": {
                          "line": 31,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should accept factory returns promise rejects",
                        "raw": "'should accept factory returns promise rejects'",
                        "range": [
                          1275,
                          1322
                        ],
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 7
                          },
                          "end": {
                            "line": 31,
                            "column": 54
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              1334,
                              1338
                            ],
                            "loc": {
                              "start": {
                                "line": 31,
                                "column": 66
                              },
                              "end": {
                                "line": 31,
                                "column": 70
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "expected",
                                    "range": [
                                      1354,
                                      1362
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 32,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 32,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": 42,
                                    "raw": "42",
                                    "range": [
                                      1365,
                                      1367
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 32,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 32,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "range": [
                                    1354,
                                    1367
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 32,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 32,
                                      "column": 25
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1350,
                                1368
                              ],
                              "loc": {
                                "start": {
                                  "line": 32,
                                  "column": 8
                                },
                                "end": {
                                  "line": 32,
                                  "column": 26
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "disposed",
                                    "range": [
                                      1381,
                                      1389
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 33,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 33,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": false,
                                    "raw": "false",
                                    "range": [
                                      1392,
                                      1397
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 33,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 33,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "range": [
                                    1381,
                                    1397
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 33,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 33,
                                      "column": 28
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1377,
                                1398
                              ],
                              "loc": {
                                "start": {
                                  "line": 33,
                                  "column": 8
                                },
                                "end": {
                                  "line": 33,
                                  "column": 29
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "e1",
                                    "range": [
                                      1411,
                                      1413
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 34,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          1416,
                                          1426
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 34,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 34,
                                            "column": 27
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "using",
                                        "range": [
                                          1427,
                                          1432
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 34,
                                            "column": 28
                                          },
                                          "end": {
                                            "line": 34,
                                            "column": 33
                                          }
                                        }
                                      },
                                      "range": [
                                        1416,
                                        1432
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 34,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 34,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Subscription",
                                                  "range": [
                                                    1458,
                                                    1470
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 34,
                                                      "column": 59
                                                    },
                                                    "end": {
                                                      "line": 34,
                                                      "column": 71
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "FunctionExpression",
                                                    "id": null,
                                                    "params": [],
                                                    "body": {
                                                      "type": "BlockStatement",
                                                      "body": [
                                                        {
                                                          "type": "ReturnStatement",
                                                          "argument": {
                                                            "type": "AssignmentExpression",
                                                            "operator": "=",
                                                            "left": {
                                                              "type": "Identifier",
                                                              "name": "disposed",
                                                              "range": [
                                                                1492,
                                                                1500
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 34,
                                                                  "column": 93
                                                                },
                                                                "end": {
                                                                  "line": 34,
                                                                  "column": 101
                                                                }
                                                              }
                                                            },
                                                            "right": {
                                                              "type": "Literal",
                                                              "value": true,
                                                              "raw": "true",
                                                              "range": [
                                                                1503,
                                                                1507
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 34,
                                                                  "column": 104
                                                                },
                                                                "end": {
                                                                  "line": 34,
                                                                  "column": 108
                                                                }
                                                              }
                                                            },
                                                            "range": [
                                                              1492,
                                                              1507
                                                            ],
                                                            "loc": {
                                                              "start": {
                                                                "line": 34,
                                                                "column": 93
                                                              },
                                                              "end": {
                                                                "line": 34,
                                                                "column": 108
                                                              }
                                                            }
                                                          },
                                                          "range": [
                                                            1485,
                                                            1508
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 34,
                                                              "column": 86
                                                            },
                                                            "end": {
                                                              "line": 34,
                                                              "column": 109
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        1483,
                                                        1510
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 34,
                                                          "column": 84
                                                        },
                                                        "end": {
                                                          "line": 34,
                                                          "column": 111
                                                        }
                                                      }
                                                    },
                                                    "generator": false,
                                                    "expression": false,
                                                    "range": [
                                                      1471,
                                                      1510
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 34,
                                                        "column": 72
                                                      },
                                                      "end": {
                                                        "line": 34,
                                                        "column": 111
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  1454,
                                                  1511
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 34,
                                                    "column": 55
                                                  },
                                                  "end": {
                                                    "line": 34,
                                                    "column": 112
                                                  }
                                                }
                                              },
                                              "range": [
                                                1447,
                                                1512
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 34,
                                                  "column": 48
                                                },
                                                "end": {
                                                  "line": 34,
                                                  "column": 113
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1445,
                                            1514
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 34,
                                              "column": 46
                                            },
                                            "end": {
                                              "line": 34,
                                              "column": 115
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1433,
                                          1514
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 34,
                                            "column": 34
                                          },
                                          "end": {
                                            "line": 34,
                                            "column": 115
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "name": "resource",
                                            "range": [
                                              1526,
                                              1534
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 34,
                                                "column": 127
                                              },
                                              "end": {
                                                "line": 34,
                                                "column": 135
                                              }
                                            }
                                          }
                                        ],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Promise",
                                                  "range": [
                                                    1549,
                                                    1556
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 34,
                                                      "column": 150
                                                    },
                                                    "end": {
                                                      "line": 34,
                                                      "column": 157
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "FunctionExpression",
                                                    "id": null,
                                                    "params": [
                                                      {
                                                        "type": "Identifier",
                                                        "name": "resolve",
                                                        "range": [
                                                          1567,
                                                          1574
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 34,
                                                            "column": 168
                                                          },
                                                          "end": {
                                                            "line": 34,
                                                            "column": 175
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "type": "Identifier",
                                                        "name": "reject",
                                                        "range": [
                                                          1576,
                                                          1582
                                                        ],
                                                        "loc": {
                                                          "start": {
                                                            "line": 34,
                                                            "column": 177
                                                          },
                                                          "end": {
                                                            "line": 34,
                                                            "column": 183
                                                          }
                                                        }
                                                      }
                                                    ],
                                                    "body": {
                                                      "type": "BlockStatement",
                                                      "body": [
                                                        {
                                                          "type": "ExpressionStatement",
                                                          "expression": {
                                                            "type": "CallExpression",
                                                            "callee": {
                                                              "type": "Identifier",
                                                              "name": "reject",
                                                              "range": [
                                                                1586,
                                                                1592
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 34,
                                                                  "column": 187
                                                                },
                                                                "end": {
                                                                  "line": 34,
                                                                  "column": 193
                                                                }
                                                              }
                                                            },
                                                            "arguments": [
                                                              {
                                                                "type": "Identifier",
                                                                "name": "expected",
                                                                "range": [
                                                                  1593,
                                                                  1601
                                                                ],
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 34,
                                                                    "column": 194
                                                                  },
                                                                  "end": {
                                                                    "line": 34,
                                                                    "column": 202
                                                                  }
                                                                }
                                                              }
                                                            ],
                                                            "range": [
                                                              1586,
                                                              1602
                                                            ],
                                                            "loc": {
                                                              "start": {
                                                                "line": 34,
                                                                "column": 187
                                                              },
                                                              "end": {
                                                                "line": 34,
                                                                "column": 203
                                                              }
                                                            }
                                                          },
                                                          "range": [
                                                            1586,
                                                            1603
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 34,
                                                              "column": 187
                                                            },
                                                            "end": {
                                                              "line": 34,
                                                              "column": 204
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        1584,
                                                        1605
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 34,
                                                          "column": 185
                                                        },
                                                        "end": {
                                                          "line": 34,
                                                          "column": 206
                                                        }
                                                      }
                                                    },
                                                    "generator": false,
                                                    "expression": false,
                                                    "range": [
                                                      1557,
                                                      1605
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 34,
                                                        "column": 158
                                                      },
                                                      "end": {
                                                        "line": 34,
                                                        "column": 206
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  1545,
                                                  1606
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 34,
                                                    "column": 146
                                                  },
                                                  "end": {
                                                    "line": 34,
                                                    "column": 207
                                                  }
                                                }
                                              },
                                              "range": [
                                                1538,
                                                1607
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 34,
                                                  "column": 139
                                                },
                                                "end": {
                                                  "line": 34,
                                                  "column": 208
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1536,
                                            1609
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 34,
                                              "column": 137
                                            },
                                            "end": {
                                              "line": 34,
                                              "column": 210
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1516,
                                          1609
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 34,
                                            "column": 117
                                          },
                                          "end": {
                                            "line": 34,
                                            "column": 210
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      1416,
                                      1610
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 34,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 211
                                      }
                                    }
                                  },
                                  "range": [
                                    1411,
                                    1610
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 34,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 34,
                                      "column": 211
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1407,
                                1611
                              ],
                              "loc": {
                                "start": {
                                  "line": 34,
                                  "column": 8
                                },
                                "end": {
                                  "line": 34,
                                  "column": 212
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "e1",
                                    "range": [
                                      1620,
                                      1622
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      1623,
                                      1632
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "range": [
                                    1620,
                                    1632
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 35,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 35,
                                      "column": 20
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          1643,
                                          1644
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 35,
                                            "column": 31
                                          },
                                          "end": {
                                            "line": 35,
                                            "column": 32
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1660,
                                                1664
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 36,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 36,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    1669,
                                                    1674
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 36,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 36,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      1675,
                                                      1697
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 36,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 36,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  1665,
                                                  1698
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 36,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 36,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1660,
                                              1699
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 36,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 36,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            1660,
                                            1700
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 36,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 36,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1646,
                                        1710
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 35,
                                          "column": 34
                                        },
                                        "end": {
                                          "line": 37,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1633,
                                      1710
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 37,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          1722,
                                          1723
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 37,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 37,
                                            "column": 22
                                          }
                                        }
                                      }
                                    ],
                                    "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": [
                                                        1739,
                                                        1745
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 38,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 38,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        1746,
                                                        1752
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 38,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 38,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      1739,
                                                      1752
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 38,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 38,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        1753,
                                                        1754
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 38,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 38,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    1739,
                                                    1755
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 38,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 38,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    1756,
                                                    1758
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 38,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 38,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1739,
                                                  1758
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 38,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 38,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  1759,
                                                  1764
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 38,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 38,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                1739,
                                                1764
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 38,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 38,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "name": "expected",
                                                "range": [
                                                  1765,
                                                  1773
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 38,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 38,
                                                    "column": 46
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1739,
                                              1774
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 38,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 38,
                                                "column": 47
                                              }
                                            }
                                          },
                                          "range": [
                                            1739,
                                            1775
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 38,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 38,
                                              "column": 48
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1788,
                                                1792
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 39,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 39,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              1788,
                                              1794
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 39,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 39,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            1788,
                                            1795
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 39,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 39,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1725,
                                        1805
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 37,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 40,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1712,
                                      1805
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 37,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 40,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1833,
                                                1837
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 41,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 41,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    1842,
                                                    1847
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 41,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 41,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      1848,
                                                      1870
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 41,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 41,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  1838,
                                                  1871
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 41,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 41,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1833,
                                              1872
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            1833,
                                            1873
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 41,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 41,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1819,
                                        1883
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 40,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 42,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1807,
                                      1883
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 40,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 42,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1620,
                                  1884
                                ],
                                "loc": {
                                  "start": {
                                    "line": 35,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 42,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                1620,
                                1885
                              ],
                              "loc": {
                                "start": {
                                  "line": 35,
                                  "column": 8
                                },
                                "end": {
                                  "line": 42,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            1340,
                            1891
                          ],
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 72
                            },
                            "end": {
                              "line": 43,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          1324,
                          1891
                        ],
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 56
                          },
                          "end": {
                            "line": 43,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      1272,
                      1892
                    ],
                    "loc": {
                      "start": {
                        "line": 31,
                        "column": 4
                      },
                      "end": {
                        "line": 43,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 493,
                    "_esdocTestName": "it493"
                  },
                  "range": [
                    1272,
                    1893
                  ],
                  "loc": {
                    "start": {
                      "line": 31,
                      "column": 4
                    },
                    "end": {
                      "line": 43,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        1898,
                        1900
                      ],
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 4
                        },
                        "end": {
                          "line": 44,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should raise error when resource factory throws",
                        "raw": "'should raise error when resource factory throws'",
                        "range": [
                          1901,
                          1950
                        ],
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 7
                          },
                          "end": {
                            "line": 44,
                            "column": 56
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              1962,
                              1966
                            ],
                            "loc": {
                              "start": {
                                "line": 44,
                                "column": 68
                              },
                              "end": {
                                "line": 44,
                                "column": 72
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "expectedError",
                                    "range": [
                                      1982,
                                      1995
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 45,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 45,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": "expected",
                                    "raw": "'expected'",
                                    "range": [
                                      1998,
                                      2008
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 45,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 45,
                                        "column": 38
                                      }
                                    }
                                  },
                                  "range": [
                                    1982,
                                    2008
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 45,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 45,
                                      "column": 38
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1978,
                                2009
                              ],
                              "loc": {
                                "start": {
                                  "line": 45,
                                  "column": 8
                                },
                                "end": {
                                  "line": 45,
                                  "column": 39
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "error",
                                    "range": [
                                      2022,
                                      2027
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 46,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 46,
                                        "column": 17
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": "error",
                                    "raw": "'error'",
                                    "range": [
                                      2030,
                                      2037
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 46,
                                        "column": 20
                                      },
                                      "end": {
                                        "line": 46,
                                        "column": 27
                                      }
                                    }
                                  },
                                  "range": [
                                    2022,
                                    2037
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 46,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 46,
                                      "column": 27
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2018,
                                2038
                              ],
                              "loc": {
                                "start": {
                                  "line": 46,
                                  "column": 8
                                },
                                "end": {
                                  "line": 46,
                                  "column": 28
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      2051,
                                      2057
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          2060,
                                          2070
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 47,
                                            "column": 31
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "using",
                                        "range": [
                                          2071,
                                          2076
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 32
                                          },
                                          "end": {
                                            "line": 47,
                                            "column": 37
                                          }
                                        }
                                      },
                                      "range": [
                                        2060,
                                        2076
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 47,
                                          "column": 21
                                        },
                                        "end": {
                                          "line": 47,
                                          "column": 37
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ThrowStatement",
                                              "argument": {
                                                "type": "Identifier",
                                                "name": "expectedError",
                                                "range": [
                                                  2109,
                                                  2122
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 48,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 48,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "range": [
                                                2103,
                                                2123
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 48,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 48,
                                                  "column": 32
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            2089,
                                            2133
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 47,
                                              "column": 50
                                            },
                                            "end": {
                                              "line": 49,
                                              "column": 9
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          2077,
                                          2133
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 38
                                          },
                                          "end": {
                                            "line": 49,
                                            "column": 9
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "name": "resource",
                                            "range": [
                                              2145,
                                              2153
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 49,
                                                "column": 21
                                              },
                                              "end": {
                                                "line": 49,
                                                "column": 29
                                              }
                                            }
                                          }
                                        ],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ThrowStatement",
                                              "argument": {
                                                "type": "Identifier",
                                                "name": "error",
                                                "range": [
                                                  2175,
                                                  2180
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 50,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 50,
                                                    "column": 23
                                                  }
                                                }
                                              },
                                              "range": [
                                                2169,
                                                2181
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 50,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 50,
                                                  "column": 24
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            2155,
                                            2191
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 49,
                                              "column": 31
                                            },
                                            "end": {
                                              "line": 51,
                                              "column": 9
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          2135,
                                          2191
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 49,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 51,
                                            "column": 9
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      2060,
                                      2192
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 51,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "range": [
                                    2051,
                                    2192
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 47,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 51,
                                      "column": 10
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2047,
                                2193
                              ],
                              "loc": {
                                "start": {
                                  "line": 47,
                                  "column": 8
                                },
                                "end": {
                                  "line": 51,
                                  "column": 11
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      2202,
                                      2208
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      2209,
                                      2218
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 15
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "range": [
                                    2202,
                                    2218
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 52,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 52,
                                      "column": 24
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          2229,
                                          2230
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 52,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 52,
                                            "column": 36
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2246,
                                                2250
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 53,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 53,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    2255,
                                                    2260
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 53,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 53,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      2261,
                                                      2283
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 53,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 53,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  2251,
                                                  2284
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 53,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 53,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2246,
                                              2285
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 53,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 53,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            2246,
                                            2286
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 53,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 53,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2232,
                                        2296
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 52,
                                          "column": 38
                                        },
                                        "end": {
                                          "line": 54,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2219,
                                      2296
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 54,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          2308,
                                          2309
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 22
                                          }
                                        }
                                      }
                                    ],
                                    "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": [
                                                        2325,
                                                        2331
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 55,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 55,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        2332,
                                                        2338
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 55,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 55,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2325,
                                                      2338
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 55,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 55,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        2339,
                                                        2340
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 55,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 55,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    2325,
                                                    2341
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 55,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 55,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    2342,
                                                    2344
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 55,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 55,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2325,
                                                  2344
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 55,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 55,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  2345,
                                                  2350
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 55,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 55,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                2325,
                                                2350
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 55,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 55,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "name": "expectedError",
                                                "range": [
                                                  2351,
                                                  2364
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 55,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 55,
                                                    "column": 51
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2325,
                                              2365
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 55,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 55,
                                                "column": 52
                                              }
                                            }
                                          },
                                          "range": [
                                            2325,
                                            2366
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 55,
                                              "column": 53
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2379,
                                                2383
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 56,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 56,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              2379,
                                              2385
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 56,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 56,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            2379,
                                            2386
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 56,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 56,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2311,
                                        2396
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 54,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 57,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2298,
                                      2396
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 54,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 57,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2424,
                                                2428
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 58,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 58,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    2433,
                                                    2438
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 58,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 58,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      2439,
                                                      2461
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 58,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 58,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  2429,
                                                  2462
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 58,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 58,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2424,
                                              2463
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 58,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 58,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            2424,
                                            2464
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 58,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 58,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2410,
                                        2474
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 57,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 59,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2398,
                                      2474
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 57,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 59,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2202,
                                  2475
                                ],
                                "loc": {
                                  "start": {
                                    "line": 52,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                2202,
                                2476
                              ],
                              "loc": {
                                "start": {
                                  "line": 52,
                                  "column": 8
                                },
                                "end": {
                                  "line": 59,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            1968,
                            2482
                          ],
                          "loc": {
                            "start": {
                              "line": 44,
                              "column": 74
                            },
                            "end": {
                              "line": 60,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          1952,
                          2482
                        ],
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 58
                          },
                          "end": {
                            "line": 60,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      1898,
                      2483
                    ],
                    "loc": {
                      "start": {
                        "line": 44,
                        "column": 4
                      },
                      "end": {
                        "line": 60,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 494,
                    "_esdocTestName": "it494"
                  },
                  "range": [
                    1898,
                    2484
                  ],
                  "loc": {
                    "start": {
                      "line": 44,
                      "column": 4
                    },
                    "end": {
                      "line": 60,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        2489,
                        2491
                      ],
                      "loc": {
                        "start": {
                          "line": 61,
                          "column": 4
                        },
                        "end": {
                          "line": 61,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should raise error when observable factory throws",
                        "raw": "'should raise error when observable factory throws'",
                        "range": [
                          2492,
                          2543
                        ],
                        "loc": {
                          "start": {
                            "line": 61,
                            "column": 7
                          },
                          "end": {
                            "line": 61,
                            "column": 58
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              2555,
                              2559
                            ],
                            "loc": {
                              "start": {
                                "line": 61,
                                "column": 70
                              },
                              "end": {
                                "line": 61,
                                "column": 74
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "error",
                                    "range": [
                                      2575,
                                      2580
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 62,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 62,
                                        "column": 17
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": "error",
                                    "raw": "'error'",
                                    "range": [
                                      2583,
                                      2590
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 62,
                                        "column": 20
                                      },
                                      "end": {
                                        "line": 62,
                                        "column": 27
                                      }
                                    }
                                  },
                                  "range": [
                                    2575,
                                    2590
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 62,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 62,
                                      "column": 27
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2571,
                                2591
                              ],
                              "loc": {
                                "start": {
                                  "line": 62,
                                  "column": 8
                                },
                                "end": {
                                  "line": 62,
                                  "column": 28
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "disposed",
                                    "range": [
                                      2604,
                                      2612
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 63,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 63,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": false,
                                    "raw": "false",
                                    "range": [
                                      2615,
                                      2620
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 63,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 63,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "range": [
                                    2604,
                                    2620
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 63,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 63,
                                      "column": 28
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2600,
                                2621
                              ],
                              "loc": {
                                "start": {
                                  "line": 63,
                                  "column": 8
                                },
                                "end": {
                                  "line": 63,
                                  "column": 29
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      2634,
                                      2640
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 64,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "Observable",
                                        "range": [
                                          2643,
                                          2653
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 31
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "using",
                                        "range": [
                                          2654,
                                          2659
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 32
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 37
                                          }
                                        }
                                      },
                                      "range": [
                                        2643,
                                        2659
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 21
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 37
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ReturnStatement",
                                              "argument": {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Subscription",
                                                  "range": [
                                                    2685,
                                                    2697
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 64,
                                                      "column": 63
                                                    },
                                                    "end": {
                                                      "line": 64,
                                                      "column": 75
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "FunctionExpression",
                                                    "id": null,
                                                    "params": [],
                                                    "body": {
                                                      "type": "BlockStatement",
                                                      "body": [
                                                        {
                                                          "type": "ReturnStatement",
                                                          "argument": {
                                                            "type": "AssignmentExpression",
                                                            "operator": "=",
                                                            "left": {
                                                              "type": "Identifier",
                                                              "name": "disposed",
                                                              "range": [
                                                                2719,
                                                                2727
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 64,
                                                                  "column": 97
                                                                },
                                                                "end": {
                                                                  "line": 64,
                                                                  "column": 105
                                                                }
                                                              }
                                                            },
                                                            "right": {
                                                              "type": "Literal",
                                                              "value": true,
                                                              "raw": "true",
                                                              "range": [
                                                                2730,
                                                                2734
                                                              ],
                                                              "loc": {
                                                                "start": {
                                                                  "line": 64,
                                                                  "column": 108
                                                                },
                                                                "end": {
                                                                  "line": 64,
                                                                  "column": 112
                                                                }
                                                              }
                                                            },
                                                            "range": [
                                                              2719,
                                                              2734
                                                            ],
                                                            "loc": {
                                                              "start": {
                                                                "line": 64,
                                                                "column": 97
                                                              },
                                                              "end": {
                                                                "line": 64,
                                                                "column": 112
                                                              }
                                                            }
                                                          },
                                                          "range": [
                                                            2712,
                                                            2735
                                                          ],
                                                          "loc": {
                                                            "start": {
                                                              "line": 64,
                                                              "column": 90
                                                            },
                                                            "end": {
                                                              "line": 64,
                                                              "column": 113
                                                            }
                                                          }
                                                        }
                                                      ],
                                                      "range": [
                                                        2710,
                                                        2737
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 64,
                                                          "column": 88
                                                        },
                                                        "end": {
                                                          "line": 64,
                                                          "column": 115
                                                        }
                                                      }
                                                    },
                                                    "generator": false,
                                                    "expression": false,
                                                    "range": [
                                                      2698,
                                                      2737
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 64,
                                                        "column": 76
                                                      },
                                                      "end": {
                                                        "line": 64,
                                                        "column": 115
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  2681,
                                                  2738
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 59
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 116
                                                  }
                                                }
                                              },
                                              "range": [
                                                2674,
                                                2739
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 52
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 117
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            2672,
                                            2741
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 50
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 119
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          2660,
                                          2741
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 38
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 119
                                          }
                                        }
                                      },
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "name": "resource",
                                            "range": [
                                              2753,
                                              2761
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 64,
                                                "column": 131
                                              },
                                              "end": {
                                                "line": 64,
                                                "column": 139
                                              }
                                            }
                                          }
                                        ],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ThrowStatement",
                                              "argument": {
                                                "type": "Identifier",
                                                "name": "error",
                                                "range": [
                                                  2783,
                                                  2788
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 65,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 65,
                                                    "column": 23
                                                  }
                                                }
                                              },
                                              "range": [
                                                2777,
                                                2789
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 65,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 65,
                                                  "column": 24
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            2763,
                                            2799
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 141
                                            },
                                            "end": {
                                              "line": 66,
                                              "column": 9
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          2743,
                                          2799
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 121
                                          },
                                          "end": {
                                            "line": 66,
                                            "column": 9
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      2643,
                                      2800
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 66,
                                        "column": 10
                                      }
                                    }
                                  },
                                  "range": [
                                    2634,
                                    2800
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 64,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 66,
                                      "column": 10
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                2630,
                                2801
                              ],
                              "loc": {
                                "start": {
                                  "line": 64,
                                  "column": 8
                                },
                                "end": {
                                  "line": 66,
                                  "column": 11
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      2810,
                                      2816
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 67,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 67,
                                        "column": 14
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "subscribe",
                                    "range": [
                                      2817,
                                      2826
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 67,
                                        "column": 15
                                      },
                                      "end": {
                                        "line": 67,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "range": [
                                    2810,
                                    2826
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 67,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 67,
                                      "column": 24
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          2837,
                                          2838
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 67,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 67,
                                            "column": 36
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2854,
                                                2858
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 68,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 68,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    2863,
                                                    2868
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 68,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 68,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      2869,
                                                      2891
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 68,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 68,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  2859,
                                                  2892
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 68,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 68,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2854,
                                              2893
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 68,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            2854,
                                            2894
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2840,
                                        2904
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 67,
                                          "column": 38
                                        },
                                        "end": {
                                          "line": 69,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2827,
                                      2904
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 67,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 69,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          2916,
                                          2917
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 69,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 69,
                                            "column": 22
                                          }
                                        }
                                      }
                                    ],
                                    "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": [
                                                        2933,
                                                        2939
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 70,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 70,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        2940,
                                                        2946
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 70,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 70,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      2933,
                                                      2946
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 70,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 70,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        2947,
                                                        2948
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 70,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 70,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    2933,
                                                    2949
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 70,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 70,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    2950,
                                                    2952
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 70,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 70,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  2933,
                                                  2952
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 70,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 70,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  2953,
                                                  2958
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 70,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 70,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                2933,
                                                2958
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 70,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 70,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "name": "error",
                                                "range": [
                                                  2959,
                                                  2964
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 70,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 70,
                                                    "column": 43
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              2933,
                                              2965
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 70,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 70,
                                                "column": 44
                                              }
                                            }
                                          },
                                          "range": [
                                            2933,
                                            2966
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 70,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 70,
                                              "column": 45
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                2979,
                                                2983
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 71,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 71,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              2979,
                                              2985
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 71,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 71,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            2979,
                                            2986
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 71,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 71,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2919,
                                        2996
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 69,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 72,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2906,
                                      2996
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 69,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 72,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                3024,
                                                3028
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 73,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 73,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    3033,
                                                    3038
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 73,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 73,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      3039,
                                                      3061
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 73,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 73,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  3029,
                                                  3062
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 73,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 73,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              3024,
                                              3063
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 73,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 73,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            3024,
                                            3064
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 73,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 73,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3010,
                                        3074
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 72,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 74,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      2998,
                                      3074
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 72,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 74,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2810,
                                  3075
                                ],
                                "loc": {
                                  "start": {
                                    "line": 67,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 74,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                2810,
                                3076
                              ],
                              "loc": {
                                "start": {
                                  "line": 67,
                                  "column": 8
                                },
                                "end": {
                                  "line": 74,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            2561,
                            3082
                          ],
                          "loc": {
                            "start": {
                              "line": 61,
                              "column": 76
                            },
                            "end": {
                              "line": 75,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          2545,
                          3082
                        ],
                        "loc": {
                          "start": {
                            "line": 61,
                            "column": 60
                          },
                          "end": {
                            "line": 75,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      2489,
                      3083
                    ],
                    "loc": {
                      "start": {
                        "line": 61,
                        "column": 4
                      },
                      "end": {
                        "line": 75,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 495,
                    "_esdocTestName": "it495"
                  },
                  "range": [
                    2489,
                    3084
                  ],
                  "loc": {
                    "start": {
                      "line": 61,
                      "column": 4
                    },
                    "end": {
                      "line": 75,
                      "column": 7
                    }
                  }
                }
              ],
              "range": [
                192,
                3086
              ],
              "loc": {
                "start": {
                  "line": 6,
                  "column": 41
                },
                "end": {
                  "line": 76,
                  "column": 1
                }
              }
            },
            "generator": false,
            "expression": false,
            "range": [
              180,
              3086
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 29
              },
              "end": {
                "line": 76,
                "column": 1
              }
            }
          }
        ],
        "range": [
          151,
          3087
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 0
          },
          "end": {
            "line": 76,
            "column": 2
          }
        },
        "_esdocTestId": 490,
        "_esdocTestName": "describe490"
      },
      "range": [
        151,
        3088
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 76,
          "column": 3
        }
      },
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=using-spec.js.map",
          "range": [
            3089,
            3127
          ],
          "loc": {
            "start": {
              "line": 77,
              "column": 0
            },
            "end": {
              "line": 77,
              "column": 38
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    3088
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 76,
      "column": 3
    }
  },
  "comments": [
    {
      "type": "Line",
      "value": "# sourceMappingURL=using-spec.js.map",
      "range": [
        3089,
        3127
      ],
      "loc": {
        "start": {
          "line": 77,
          "column": 0
        },
        "end": {
          "line": 77,
          "column": 38
        }
      }
    }
  ]
}