mapillary-js
Version:
WebGL JavaScript library for displaying street level imagery from mapillary.com
18 lines (14 loc) • 450 B
text/typescript
import {LoadingService} from "../../src/Viewer";
describe("LoadingService", () => {
let loadingService: LoadingService;
beforeEach(() => {
loadingService = new LoadingService();
});
it("should be initialized to not loading", (done: Function) => {
loadingService.loading$
.subscribe((loading: boolean) => {
expect(loading).toBe(false);
done();
});
});
});