当我尝试使用其中一个cold或hot函数时jasmine-marbles,我不断得到TypeError: Class constructor Observable cannot be invoked without 'new'. 有人知道如何解决这个错误吗?这是我下面的内容。
import { hot, cold } from "jasmine-marbles";
import { Observable } from "rxjs/Observable";
const myAction = hot("--a-", { a: "TEST" };