Browse Source

test(cli): Fix failing e2e test

Michael Bromley 3 months ago
parent
commit
2dc97038df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/cli/e2e/migrate-command.e2e-spec.ts

+ 1 - 1
packages/cli/e2e/migrate-command.e2e-spec.ts

@@ -233,7 +233,7 @@ describe(
                 vi.resetModules();
                 vi.resetModules();
 
 
                 // Mock the loadVendureConfigFile helper to return a config with an invalid database path
                 // Mock the loadVendureConfigFile helper to return a config with an invalid database path
-                vi.doMock('../src/commands/migrate/load-vendure-config-file', async () => {
+                vi.doMock('../src/shared/load-vendure-config-file', async () => {
                     const { config: realConfig }: { config: any } = await vi.importActual(
                     const { config: realConfig }: { config: any } = await vi.importActual(
                         path.join(TEST_PROJECT_DIR, 'src', 'vendure-config.ts'),
                         path.join(TEST_PROJECT_DIR, 'src', 'vendure-config.ts'),
                     );
                     );