Przeglądaj źródła

Merge pull request #4103 from overleaf/jpa-add-missing-stub

[FileSystemImportManagerTests] add missing stub for the settings module

GitOrigin-RevId: f0a0da3f08e0d4bc323af420767bafa7a9159bda
Jakob Ackermann 5 lat temu
rodzic
commit
8e9776fe3d

+ 3 - 0
services/web/test/unit/src/Uploads/FileSystemImportManagerTests.js

@@ -25,6 +25,9 @@ describe('FileSystemImportManager', function () {
     }
     }
     this.FileSystemImportManager = SandboxedModule.require(MODULE_PATH, {
     this.FileSystemImportManager = SandboxedModule.require(MODULE_PATH, {
       requires: {
       requires: {
+        'settings-sharelatex': {
+          textExtensions: ['tex', 'txt'],
+        },
         '../Editor/EditorController': this.EditorController,
         '../Editor/EditorController': this.EditorController,
       },
       },
     })
     })