{
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "Literal",
        "value": "use strict",
        "raw": "\"use strict\"",
        "range": [
          0,
          12
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 12
          }
        }
      },
      "range": [
        0,
        13
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 13
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "chai_1",
            "range": [
              18,
              24
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 4
              },
              "end": {
                "line": 2,
                "column": 10
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "Identifier",
              "name": "require",
              "range": [
                27,
                34
              ],
              "loc": {
                "start": {
                  "line": 2,
                  "column": 13
                },
                "end": {
                  "line": 2,
                  "column": 20
                }
              }
            },
            "arguments": [
              {
                "type": "Literal",
                "value": "chai",
                "raw": "'chai'",
                "range": [
                  35,
                  41
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 21
                  },
                  "end": {
                    "line": 2,
                    "column": 27
                  }
                }
              }
            ],
            "range": [
              27,
              42
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 13
              },
              "end": {
                "line": 2,
                "column": 28
              }
            }
          },
          "range": [
            18,
            42
          ],
          "loc": {
            "start": {
              "line": 2,
              "column": 4
            },
            "end": {
              "line": 2,
              "column": 28
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        14,
        43
      ],
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 29
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "Rx",
            "range": [
              48,
              50
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 4
              },
              "end": {
                "line": 3,
                "column": 6
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "Identifier",
              "name": "require",
              "range": [
                53,
                60
              ],
              "loc": {
                "start": {
                  "line": 3,
                  "column": 9
                },
                "end": {
                  "line": 3,
                  "column": 16
                }
              }
            },
            "arguments": [
              {
                "type": "Literal",
                "value": "../../dist/cjs/Rx",
                "raw": "'../../dist/cjs/Rx'",
                "range": [
                  61,
                  80
                ],
                "loc": {
                  "start": {
                    "line": 3,
                    "column": 17
                  },
                  "end": {
                    "line": 3,
                    "column": 36
                  }
                }
              }
            ],
            "range": [
              53,
              81
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 9
              },
              "end": {
                "line": 3,
                "column": 37
              }
            }
          },
          "range": [
            48,
            81
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 4
            },
            "end": {
              "line": 3,
              "column": 37
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        44,
        82
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 38
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "Observable",
            "range": [
              87,
              97
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 4
              },
              "end": {
                "line": 4,
                "column": 14
              }
            }
          },
          "init": {
            "type": "MemberExpression",
            "computed": false,
            "object": {
              "type": "Identifier",
              "name": "Rx",
              "range": [
                100,
                102
              ],
              "loc": {
                "start": {
                  "line": 4,
                  "column": 17
                },
                "end": {
                  "line": 4,
                  "column": 19
                }
              }
            },
            "property": {
              "type": "Identifier",
              "name": "Observable",
              "range": [
                103,
                113
              ],
              "loc": {
                "start": {
                  "line": 4,
                  "column": 20
                },
                "end": {
                  "line": 4,
                  "column": 30
                }
              }
            },
            "range": [
              100,
              113
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 17
              },
              "end": {
                "line": 4,
                "column": 30
              }
            }
          },
          "range": [
            87,
            113
          ],
          "loc": {
            "start": {
              "line": 4,
              "column": 4
            },
            "end": {
              "line": 4,
              "column": 30
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        83,
        114
      ],
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 31
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "* @test {toPromise} ",
          "range": [
            115,
            139
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 24
            }
          }
        }
      ]
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "describe",
          "range": [
            140,
            148
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 0
            },
            "end": {
              "line": 6,
              "column": 8
            }
          }
        },
        "arguments": [
          {
            "type": "Literal",
            "value": "Observable.prototype.toPromise",
            "raw": "'Observable.prototype.toPromise'",
            "range": [
              149,
              181
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 9
              },
              "end": {
                "line": 6,
                "column": 41
              }
            }
          },
          {
            "type": "FunctionExpression",
            "id": null,
            "params": [],
            "body": {
              "type": "BlockStatement",
              "body": [
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        201,
                        203
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 4
                        },
                        "end": {
                          "line": 7,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should convert an Observable to a promise of its last value",
                        "raw": "'should convert an Observable to a promise of its last value'",
                        "range": [
                          204,
                          265
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 7
                          },
                          "end": {
                            "line": 7,
                            "column": 68
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              277,
                              281
                            ],
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 80
                              },
                              "end": {
                                "line": 7,
                                "column": 84
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              293,
                                              303
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 8,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 8,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "of",
                                            "range": [
                                              304,
                                              306
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 8,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 8,
                                                "column": 21
                                              }
                                            }
                                          },
                                          "range": [
                                            293,
                                            306
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 8,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 8,
                                              "column": 21
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Literal",
                                            "value": 1,
                                            "raw": "1",
                                            "range": [
                                              307,
                                              308
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 8,
                                                "column": 22
                                              },
                                              "end": {
                                                "line": 8,
                                                "column": 23
                                              }
                                            }
                                          },
                                          {
                                            "type": "Literal",
                                            "value": 2,
                                            "raw": "2",
                                            "range": [
                                              310,
                                              311
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 8,
                                                "column": 25
                                              },
                                              "end": {
                                                "line": 8,
                                                "column": 26
                                              }
                                            }
                                          },
                                          {
                                            "type": "Literal",
                                            "value": 3,
                                            "raw": "3",
                                            "range": [
                                              313,
                                              314
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 8,
                                                "column": 28
                                              },
                                              "end": {
                                                "line": 8,
                                                "column": 29
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          293,
                                          315
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 8,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 8,
                                            "column": 30
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "toPromise",
                                        "range": [
                                          316,
                                          325
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 8,
                                            "column": 31
                                          },
                                          "end": {
                                            "line": 8,
                                            "column": 40
                                          }
                                        }
                                      },
                                      "range": [
                                        293,
                                        325
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 8,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 8,
                                          "column": 40
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "Promise",
                                        "range": [
                                          326,
                                          333
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 8,
                                            "column": 41
                                          },
                                          "end": {
                                            "line": 8,
                                            "column": 48
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      293,
                                      334
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 8,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 8,
                                        "column": 49
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "then",
                                    "range": [
                                      335,
                                      339
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 8,
                                        "column": 50
                                      },
                                      "end": {
                                        "line": 8,
                                        "column": 54
                                      }
                                    }
                                  },
                                  "range": [
                                    293,
                                    339
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 8,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 8,
                                      "column": 54
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          350,
                                          351
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 8,
                                            "column": 65
                                          },
                                          "end": {
                                            "line": 8,
                                            "column": 66
                                          }
                                        }
                                      }
                                    ],
                                    "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": [
                                                        367,
                                                        373
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        374,
                                                        380
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      367,
                                                      380
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 9,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 9,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        381,
                                                        382
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 9,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 9,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    367,
                                                    383
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 9,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 9,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    384,
                                                    386
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 9,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 9,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  367,
                                                  386
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 9,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 9,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  387,
                                                  392
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 9,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 9,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                367,
                                                392
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 9,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 9,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": 3,
                                                "raw": "3",
                                                "range": [
                                                  393,
                                                  394
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 9,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 9,
                                                    "column": 39
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              367,
                                              395
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 9,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 9,
                                                "column": 40
                                              }
                                            }
                                          },
                                          "range": [
                                            367,
                                            396
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 9,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 9,
                                              "column": 41
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                409,
                                                413
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 10,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 10,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              409,
                                              415
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 10,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 10,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            409,
                                            416
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 10,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 10,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        353,
                                        426
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 8,
                                          "column": 68
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      340,
                                      426
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 8,
                                        "column": 55
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  293,
                                  427
                                ],
                                "loc": {
                                  "start": {
                                    "line": 8,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                293,
                                428
                              ],
                              "loc": {
                                "start": {
                                  "line": 8,
                                  "column": 8
                                },
                                "end": {
                                  "line": 11,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            283,
                            434
                          ],
                          "loc": {
                            "start": {
                              "line": 7,
                              "column": 86
                            },
                            "end": {
                              "line": 12,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          267,
                          434
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 70
                          },
                          "end": {
                            "line": 12,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      201,
                      435
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 4
                      },
                      "end": {
                        "line": 12,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 2156,
                    "_esdocTestName": "it2156"
                  },
                  "range": [
                    201,
                    436
                  ],
                  "loc": {
                    "start": {
                      "line": 7,
                      "column": 4
                    },
                    "end": {
                      "line": 12,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        441,
                        443
                      ],
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 4
                        },
                        "end": {
                          "line": 13,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should handle errors properly",
                        "raw": "'should handle errors properly'",
                        "range": [
                          444,
                          475
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 7
                          },
                          "end": {
                            "line": 13,
                            "column": 38
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              487,
                              491
                            ],
                            "loc": {
                              "start": {
                                "line": 13,
                                "column": 50
                              },
                              "end": {
                                "line": 13,
                                "column": 54
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              503,
                                              513
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 14,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 14,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "throw",
                                            "range": [
                                              514,
                                              519
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 14,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 14,
                                                "column": 24
                                              }
                                            }
                                          },
                                          "range": [
                                            503,
                                            519
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 14,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 14,
                                              "column": 24
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Literal",
                                            "value": "bad",
                                            "raw": "'bad'",
                                            "range": [
                                              520,
                                              525
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 14,
                                                "column": 25
                                              },
                                              "end": {
                                                "line": 14,
                                                "column": 30
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          503,
                                          526
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 14,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 14,
                                            "column": 31
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "toPromise",
                                        "range": [
                                          527,
                                          536
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 14,
                                            "column": 32
                                          },
                                          "end": {
                                            "line": 14,
                                            "column": 41
                                          }
                                        }
                                      },
                                      "range": [
                                        503,
                                        536
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 14,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 14,
                                          "column": 41
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "Promise",
                                        "range": [
                                          537,
                                          544
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 14,
                                            "column": 42
                                          },
                                          "end": {
                                            "line": 14,
                                            "column": 49
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      503,
                                      545
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 50
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "then",
                                    "range": [
                                      546,
                                      550
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 51
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 55
                                      }
                                    }
                                  },
                                  "range": [
                                    503,
                                    550
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 14,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 14,
                                      "column": 55
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                577,
                                                581
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 15,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 15,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "NewExpression",
                                                "callee": {
                                                  "type": "Identifier",
                                                  "name": "Error",
                                                  "range": [
                                                    586,
                                                    591
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 15,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 15,
                                                      "column": 26
                                                    }
                                                  }
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "Literal",
                                                    "value": "should not be called",
                                                    "raw": "'should not be called'",
                                                    "range": [
                                                      592,
                                                      614
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 15,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 15,
                                                        "column": 49
                                                      }
                                                    }
                                                  }
                                                ],
                                                "range": [
                                                  582,
                                                  615
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 15,
                                                    "column": 17
                                                  },
                                                  "end": {
                                                    "line": 15,
                                                    "column": 50
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              577,
                                              616
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 15,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 15,
                                                "column": 51
                                              }
                                            }
                                          },
                                          "range": [
                                            577,
                                            617
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 15,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 15,
                                              "column": 52
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        563,
                                        627
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 14,
                                          "column": 68
                                        },
                                        "end": {
                                          "line": 16,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      551,
                                      627
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 56
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 9
                                      }
                                    }
                                  },
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "err",
                                        "range": [
                                          639,
                                          642
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 24
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "chai_1",
                                                      "range": [
                                                        658,
                                                        664
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 17,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 17,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        665,
                                                        671
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 17,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 17,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      658,
                                                      671
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 17,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 17,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "err",
                                                      "range": [
                                                        672,
                                                        675
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 17,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 17,
                                                          "column": 29
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    658,
                                                    676
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 17,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 17,
                                                      "column": 30
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    677,
                                                    679
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 17,
                                                      "column": 31
                                                    },
                                                    "end": {
                                                      "line": 17,
                                                      "column": 33
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  658,
                                                  679
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 17,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 17,
                                                    "column": 33
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  680,
                                                  685
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 17,
                                                    "column": 34
                                                  },
                                                  "end": {
                                                    "line": 17,
                                                    "column": 39
                                                  }
                                                }
                                              },
                                              "range": [
                                                658,
                                                685
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 17,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 17,
                                                  "column": 39
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": "bad",
                                                "raw": "'bad'",
                                                "range": [
                                                  686,
                                                  691
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 17,
                                                    "column": 40
                                                  },
                                                  "end": {
                                                    "line": 17,
                                                    "column": 45
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              658,
                                              692
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 17,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 17,
                                                "column": 46
                                              }
                                            }
                                          },
                                          "range": [
                                            658,
                                            693
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 17,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 17,
                                              "column": 47
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                706,
                                                710
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 18,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 18,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              706,
                                              712
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 18,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 18,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            706,
                                            713
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 18,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 18,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        644,
                                        723
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 16,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 19,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      629,
                                      723
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 19,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  503,
                                  724
                                ],
                                "loc": {
                                  "start": {
                                    "line": 14,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 19,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                503,
                                725
                              ],
                              "loc": {
                                "start": {
                                  "line": 14,
                                  "column": 8
                                },
                                "end": {
                                  "line": 19,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            493,
                            731
                          ],
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 56
                            },
                            "end": {
                              "line": 20,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          477,
                          731
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 40
                          },
                          "end": {
                            "line": 20,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      441,
                      732
                    ],
                    "loc": {
                      "start": {
                        "line": 13,
                        "column": 4
                      },
                      "end": {
                        "line": 20,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 2157,
                    "_esdocTestName": "it2157"
                  },
                  "range": [
                    441,
                    733
                  ],
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 4
                    },
                    "end": {
                      "line": 20,
                      "column": 7
                    }
                  }
                },
                {
                  "type": "ExpressionStatement",
                  "expression": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "it",
                      "range": [
                        738,
                        740
                      ],
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 4
                        },
                        "end": {
                          "line": 21,
                          "column": 6
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "value": "should allow for global config via Rx.config.Promise",
                        "raw": "'should allow for global config via Rx.config.Promise'",
                        "range": [
                          741,
                          795
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 7
                          },
                          "end": {
                            "line": 21,
                            "column": 61
                          }
                        }
                      },
                      {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "done",
                            "range": [
                              807,
                              811
                            ],
                            "loc": {
                              "start": {
                                "line": 21,
                                "column": 73
                              },
                              "end": {
                                "line": 21,
                                "column": 77
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "wasCalled",
                                    "range": [
                                      827,
                                      836
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 21
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "Literal",
                                    "value": false,
                                    "raw": "false",
                                    "range": [
                                      839,
                                      844
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "range": [
                                    827,
                                    844
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 22,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 29
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                823,
                                845
                              ],
                              "loc": {
                                "start": {
                                  "line": 22,
                                  "column": 8
                                },
                                "end": {
                                  "line": 22,
                                  "column": 30
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "AssignmentExpression",
                                "operator": "=",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "__root__",
                                    "range": [
                                      854,
                                      862
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 16
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "Rx",
                                    "range": [
                                      863,
                                      865
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "range": [
                                    854,
                                    865
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 19
                                    }
                                  }
                                },
                                "right": {
                                  "type": "ObjectExpression",
                                  "properties": [],
                                  "range": [
                                    868,
                                    870
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 22
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 24
                                    }
                                  }
                                },
                                "range": [
                                  854,
                                  870
                                ],
                                "loc": {
                                  "start": {
                                    "line": 23,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 23,
                                    "column": 24
                                  }
                                }
                              },
                              "range": [
                                854,
                                871
                              ],
                              "loc": {
                                "start": {
                                  "line": 23,
                                  "column": 8
                                },
                                "end": {
                                  "line": 23,
                                  "column": 25
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "AssignmentExpression",
                                "operator": "=",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "__root__",
                                      "range": [
                                        880,
                                        888
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 24,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 24,
                                          "column": 16
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "Rx",
                                      "range": [
                                        889,
                                        891
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 24,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 24,
                                          "column": 19
                                        }
                                      }
                                    },
                                    "range": [
                                      880,
                                      891
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 24,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 24,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "config",
                                    "range": [
                                      892,
                                      898
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 24,
                                        "column": 20
                                      },
                                      "end": {
                                        "line": 24,
                                        "column": 26
                                      }
                                    }
                                  },
                                  "range": [
                                    880,
                                    898
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 24,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 24,
                                      "column": 26
                                    }
                                  }
                                },
                                "right": {
                                  "type": "ObjectExpression",
                                  "properties": [],
                                  "range": [
                                    901,
                                    903
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 24,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 24,
                                      "column": 31
                                    }
                                  }
                                },
                                "range": [
                                  880,
                                  903
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 31
                                  }
                                }
                              },
                              "range": [
                                880,
                                904
                              ],
                              "loc": {
                                "start": {
                                  "line": 24,
                                  "column": 8
                                },
                                "end": {
                                  "line": 24,
                                  "column": 32
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "AssignmentExpression",
                                "operator": "=",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "__root__",
                                        "range": [
                                          913,
                                          921
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 25,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 25,
                                            "column": 16
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "Rx",
                                        "range": [
                                          922,
                                          924
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 25,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 25,
                                            "column": 19
                                          }
                                        }
                                      },
                                      "range": [
                                        913,
                                        924
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 25,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 25,
                                          "column": 19
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "config",
                                      "range": [
                                        925,
                                        931
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 25,
                                          "column": 20
                                        },
                                        "end": {
                                          "line": 25,
                                          "column": 26
                                        }
                                      }
                                    },
                                    "range": [
                                      913,
                                      931
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 25,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 25,
                                        "column": 26
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "Promise",
                                    "range": [
                                      932,
                                      939
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 25,
                                        "column": 27
                                      },
                                      "end": {
                                        "line": 25,
                                        "column": 34
                                      }
                                    }
                                  },
                                  "range": [
                                    913,
                                    939
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 34
                                    }
                                  }
                                },
                                "right": {
                                  "type": "FunctionExpression",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "MyPromise",
                                    "range": [
                                      951,
                                      960
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 25,
                                        "column": 46
                                      },
                                      "end": {
                                        "line": 25,
                                        "column": 55
                                      }
                                    }
                                  },
                                  "params": [
                                    {
                                      "type": "Identifier",
                                      "name": "callback",
                                      "range": [
                                        961,
                                        969
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 25,
                                          "column": 56
                                        },
                                        "end": {
                                          "line": 25,
                                          "column": 64
                                        }
                                      }
                                    }
                                  ],
                                  "body": {
                                    "type": "BlockStatement",
                                    "body": [
                                      {
                                        "type": "ExpressionStatement",
                                        "expression": {
                                          "type": "AssignmentExpression",
                                          "operator": "=",
                                          "left": {
                                            "type": "Identifier",
                                            "name": "wasCalled",
                                            "range": [
                                              985,
                                              994
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 26,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 26,
                                                "column": 21
                                              }
                                            }
                                          },
                                          "right": {
                                            "type": "Literal",
                                            "value": true,
                                            "raw": "true",
                                            "range": [
                                              997,
                                              1001
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 26,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 26,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "range": [
                                            985,
                                            1001
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 26,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 26,
                                              "column": 28
                                            }
                                          }
                                        },
                                        "range": [
                                          985,
                                          1002
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 26,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 26,
                                            "column": 29
                                          }
                                        }
                                      },
                                      {
                                        "type": "ReturnStatement",
                                        "argument": {
                                          "type": "NewExpression",
                                          "callee": {
                                            "type": "Identifier",
                                            "name": "Promise",
                                            "range": [
                                              1026,
                                              1033
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 27,
                                                "column": 23
                                              },
                                              "end": {
                                                "line": 27,
                                                "column": 30
                                              }
                                            }
                                          },
                                          "arguments": [
                                            {
                                              "type": "Identifier",
                                              "name": "callback",
                                              "range": [
                                                1034,
                                                1042
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 27,
                                                  "column": 31
                                                },
                                                "end": {
                                                  "line": 27,
                                                  "column": 39
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1022,
                                            1043
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 27,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 27,
                                              "column": 40
                                            }
                                          }
                                        },
                                        "range": [
                                          1015,
                                          1044
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 27,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 27,
                                            "column": 41
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      971,
                                      1054
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 25,
                                        "column": 66
                                      },
                                      "end": {
                                        "line": 28,
                                        "column": 9
                                      }
                                    }
                                  },
                                  "generator": false,
                                  "expression": false,
                                  "range": [
                                    942,
                                    1054
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 37
                                    },
                                    "end": {
                                      "line": 28,
                                      "column": 9
                                    }
                                  }
                                },
                                "range": [
                                  913,
                                  1054
                                ],
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 28,
                                    "column": 9
                                  }
                                }
                              },
                              "range": [
                                913,
                                1055
                              ],
                              "loc": {
                                "start": {
                                  "line": 25,
                                  "column": 8
                                },
                                "end": {
                                  "line": 28,
                                  "column": 10
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "Observable",
                                            "range": [
                                              1064,
                                              1074
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 29,
                                                "column": 8
                                              },
                                              "end": {
                                                "line": 29,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "of",
                                            "range": [
                                              1075,
                                              1077
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 29,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 29,
                                                "column": 21
                                              }
                                            }
                                          },
                                          "range": [
                                            1064,
                                            1077
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 29,
                                              "column": 8
                                            },
                                            "end": {
                                              "line": 29,
                                              "column": 21
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Literal",
                                            "value": 42,
                                            "raw": "42",
                                            "range": [
                                              1078,
                                              1080
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 29,
                                                "column": 22
                                              },
                                              "end": {
                                                "line": 29,
                                                "column": 24
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1064,
                                          1081
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 29,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 29,
                                            "column": 25
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "toPromise",
                                        "range": [
                                          1082,
                                          1091
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 29,
                                            "column": 26
                                          },
                                          "end": {
                                            "line": 29,
                                            "column": 35
                                          }
                                        }
                                      },
                                      "range": [
                                        1064,
                                        1091
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 29,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 29,
                                          "column": 35
                                        }
                                      }
                                    },
                                    "arguments": [],
                                    "range": [
                                      1064,
                                      1093
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 29,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 29,
                                        "column": 37
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "then",
                                    "range": [
                                      1094,
                                      1098
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 29,
                                        "column": 38
                                      },
                                      "end": {
                                        "line": 29,
                                        "column": 42
                                      }
                                    }
                                  },
                                  "range": [
                                    1064,
                                    1098
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 29,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 29,
                                      "column": 42
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "FunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "x",
                                        "range": [
                                          1109,
                                          1110
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 29,
                                            "column": 53
                                          },
                                          "end": {
                                            "line": 29,
                                            "column": 54
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "MemberExpression",
                                            "computed": false,
                                            "object": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "MemberExpression",
                                                    "computed": false,
                                                    "object": {
                                                      "type": "Identifier",
                                                      "name": "chai_1",
                                                      "range": [
                                                        1126,
                                                        1132
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 30,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 30,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        1133,
                                                        1139
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 30,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 30,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      1126,
                                                      1139
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 30,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 30,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "wasCalled",
                                                      "range": [
                                                        1140,
                                                        1149
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 30,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 30,
                                                          "column": 35
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    1126,
                                                    1150
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 30,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 30,
                                                      "column": 36
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    1151,
                                                    1153
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 30,
                                                      "column": 37
                                                    },
                                                    "end": {
                                                      "line": 30,
                                                      "column": 39
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1126,
                                                  1153
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 30,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 30,
                                                    "column": 39
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "be",
                                                "range": [
                                                  1154,
                                                  1156
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 30,
                                                    "column": 40
                                                  },
                                                  "end": {
                                                    "line": 30,
                                                    "column": 42
                                                  }
                                                }
                                              },
                                              "range": [
                                                1126,
                                                1156
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 30,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 30,
                                                  "column": 42
                                                }
                                              }
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "name": "true",
                                              "range": [
                                                1157,
                                                1161
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 30,
                                                  "column": 43
                                                },
                                                "end": {
                                                  "line": 30,
                                                  "column": 47
                                                }
                                              }
                                            },
                                            "range": [
                                              1126,
                                              1161
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 30,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 30,
                                                "column": 47
                                              }
                                            }
                                          },
                                          "range": [
                                            1126,
                                            1162
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 30,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 30,
                                              "column": 48
                                            }
                                          }
                                        },
                                        {
                                          "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": [
                                                        1175,
                                                        1181
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 31,
                                                          "column": 12
                                                        },
                                                        "end": {
                                                          "line": 31,
                                                          "column": 18
                                                        }
                                                      }
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "name": "expect",
                                                      "range": [
                                                        1182,
                                                        1188
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 31,
                                                          "column": 19
                                                        },
                                                        "end": {
                                                          "line": 31,
                                                          "column": 25
                                                        }
                                                      }
                                                    },
                                                    "range": [
                                                      1175,
                                                      1188
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 31,
                                                        "column": 12
                                                      },
                                                      "end": {
                                                        "line": 31,
                                                        "column": 25
                                                      }
                                                    }
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "name": "x",
                                                      "range": [
                                                        1189,
                                                        1190
                                                      ],
                                                      "loc": {
                                                        "start": {
                                                          "line": 31,
                                                          "column": 26
                                                        },
                                                        "end": {
                                                          "line": 31,
                                                          "column": 27
                                                        }
                                                      }
                                                    }
                                                  ],
                                                  "range": [
                                                    1175,
                                                    1191
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 31,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 31,
                                                      "column": 28
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "to",
                                                  "range": [
                                                    1192,
                                                    1194
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 31,
                                                      "column": 29
                                                    },
                                                    "end": {
                                                      "line": 31,
                                                      "column": 31
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1175,
                                                  1194
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 31,
                                                    "column": 12
                                                  },
                                                  "end": {
                                                    "line": 31,
                                                    "column": 31
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "equal",
                                                "range": [
                                                  1195,
                                                  1200
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 31,
                                                    "column": 32
                                                  },
                                                  "end": {
                                                    "line": 31,
                                                    "column": 37
                                                  }
                                                }
                                              },
                                              "range": [
                                                1175,
                                                1200
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 37
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": 42,
                                                "raw": "42",
                                                "range": [
                                                  1201,
                                                  1203
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 31,
                                                    "column": 38
                                                  },
                                                  "end": {
                                                    "line": 31,
                                                    "column": 40
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1175,
                                              1204
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 41
                                              }
                                            }
                                          },
                                          "range": [
                                            1175,
                                            1205
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 42
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "UnaryExpression",
                                            "operator": "delete",
                                            "argument": {
                                              "type": "MemberExpression",
                                              "computed": false,
                                              "object": {
                                                "type": "Identifier",
                                                "name": "__root__",
                                                "range": [
                                                  1225,
                                                  1233
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 32,
                                                    "column": 19
                                                  },
                                                  "end": {
                                                    "line": 32,
                                                    "column": 27
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "name": "Rx",
                                                "range": [
                                                  1234,
                                                  1236
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 32,
                                                    "column": 28
                                                  },
                                                  "end": {
                                                    "line": 32,
                                                    "column": 30
                                                  }
                                                }
                                              },
                                              "range": [
                                                1225,
                                                1236
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 32,
                                                  "column": 19
                                                },
                                                "end": {
                                                  "line": 32,
                                                  "column": 30
                                                }
                                              }
                                            },
                                            "prefix": true,
                                            "range": [
                                              1218,
                                              1236
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 32,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 32,
                                                "column": 30
                                              }
                                            }
                                          },
                                          "range": [
                                            1218,
                                            1237
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 32,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 32,
                                              "column": 31
                                            }
                                          }
                                        },
                                        {
                                          "type": "ExpressionStatement",
                                          "expression": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "done",
                                              "range": [
                                                1250,
                                                1254
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 33,
                                                  "column": 12
                                                },
                                                "end": {
                                                  "line": 33,
                                                  "column": 16
                                                }
                                              }
                                            },
                                            "arguments": [],
                                            "range": [
                                              1250,
                                              1256
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 33,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 33,
                                                "column": 18
                                              }
                                            }
                                          },
                                          "range": [
                                            1250,
                                            1257
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 33,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 33,
                                              "column": 19
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1112,
                                        1267
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 29,
                                          "column": 56
                                        },
                                        "end": {
                                          "line": 34,
                                          "column": 9
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1099,
                                      1267
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 29,
                                        "column": 43
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 9
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1064,
                                  1268
                                ],
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 34,
                                    "column": 10
                                  }
                                }
                              },
                              "range": [
                                1064,
                                1269
                              ],
                              "loc": {
                                "start": {
                                  "line": 29,
                                  "column": 8
                                },
                                "end": {
                                  "line": 34,
                                  "column": 11
                                }
                              }
                            }
                          ],
                          "range": [
                            813,
                            1275
                          ],
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 79
                            },
                            "end": {
                              "line": 35,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          797,
                          1275
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 63
                          },
                          "end": {
                            "line": 35,
                            "column": 5
                          }
                        }
                      }
                    ],
                    "range": [
                      738,
                      1276
                    ],
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 4
                      },
                      "end": {
                        "line": 35,
                        "column": 6
                      }
                    },
                    "_esdocTestId": 2158,
                    "_esdocTestName": "it2158"
                  },
                  "range": [
                    738,
                    1277
                  ],
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 4
                    },
                    "end": {
                      "line": 35,
                      "column": 7
                    }
                  }
                }
              ],
              "range": [
                195,
                1279
              ],
              "loc": {
                "start": {
                  "line": 6,
                  "column": 55
                },
                "end": {
                  "line": 36,
                  "column": 1
                }
              }
            },
            "generator": false,
            "expression": false,
            "range": [
              183,
              1279
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 43
              },
              "end": {
                "line": 36,
                "column": 1
              }
            }
          }
        ],
        "range": [
          140,
          1280
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 0
          },
          "end": {
            "line": 36,
            "column": 2
          }
        },
        "_esdocTestId": 2155,
        "_esdocTestName": "describe2155"
      },
      "range": [
        140,
        1281
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 36,
          "column": 3
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "* @test {toPromise} ",
          "range": [
            115,
            139
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 24
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=toPromise-spec.js.map",
          "range": [
            1282,
            1324
          ],
          "loc": {
            "start": {
              "line": 37,
              "column": 0
            },
            "end": {
              "line": 37,
              "column": 42
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    1281
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 36,
      "column": 3
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "* @test {toPromise} ",
      "range": [
        115,
        139
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 24
        }
      }
    },
    {
      "type": "Line",
      "value": "# sourceMappingURL=toPromise-spec.js.map",
      "range": [
        1282,
        1324
      ],
      "loc": {
        "start": {
          "line": 37,
          "column": 0
        },
        "end": {
          "line": 37,
          "column": 42
        }
      }
    }
  ]
}