mirror of
https://github.com/mapillary/mapillary-js.git
synced 2025-12-08 17:35:55 +00:00
18 lines
467 B
TypeScript
18 lines
467 B
TypeScript
import { LoadingService } from "../../src/viewer/LoadingService";
|
|
|
|
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();
|
|
});
|
|
});
|
|
});
|