Yuki Takei před 3 roky
rodič
revize
efc0f6b443
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      apps/app/config/migrate-mongo-config.spec.ts

+ 2 - 2
apps/app/test/unit/migrate-mongo-config.test.js → apps/app/config/migrate-mongo-config.spec.ts

@@ -16,7 +16,7 @@ describe('config/migrate-mongo-config.js', () => {
     });
 
     const requireConfig = () => {
-      require('../../config/migrate-mongo-config');
+      require('./migrate-mongo-config');
     };
 
     expect(requireConfig).toThrow('An env var MIGRATIONS_DIR must be set.');
@@ -54,7 +54,7 @@ describe('config/migrate-mongo-config.js', () => {
         };
       });
 
-      const { mongodb, migrationsDir, changelogCollectionName } = require('../../config/migrate-mongo-config');
+      const { mongodb, migrationsDir, changelogCollectionName } = require('./migrate-mongo-config');
 
       jest.dontMock('../../src/server/util/mongoose-utils');