Fix fileless-importer test
This commit is contained in:
parent
b7dec44197
commit
bc7f072704
|
@ -281,7 +281,10 @@ describe("FilelessImporterBackground ", () => {
|
|||
expect(
|
||||
filelessImporterBackground["importNotificationsPort"].postMessage,
|
||||
).toHaveBeenCalledWith({ command: "filelessImportCompleted" });
|
||||
expect(filelessImporterBackground["syncService"].fullSync).toHaveBeenCalledWith(true);
|
||||
expect(filelessImporterBackground["syncService"].fullSync).toHaveBeenCalledWith(
|
||||
true,
|
||||
"import",
|
||||
);
|
||||
});
|
||||
|
||||
it("posts a failed message if the import fails", async () => {
|
||||
|
|
Loading…
Reference in New Issue