mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
18 lines
450 B
TypeScript
18 lines
450 B
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();
|
|
});
|
|
});
|
|
});
|