Explorar el Código

test: Fix e2e tests

Michael Bromley hace 6 años
padre
commit
9c69a08369

+ 2 - 1
packages/core/e2e/config/tsconfig.e2e.json

@@ -4,7 +4,8 @@
     "types": ["jest", "node"],
     "lib": ["es2015"],
     "skipLibCheck": false,
-    "inlineSourceMap": true
+    "inlineSourceMap": true,
+    "allowJs": true
   },
   "include": ["../**/*.e2e-spec.ts", "../**/*.d.ts"]
 }

+ 1 - 1
packages/core/e2e/default-search-plugin.e2e-spec.ts

@@ -7,7 +7,7 @@ import {
     UpdateCollection,
     UpdateProduct,
     UpdateTaxRate,
-} from ''@vendure/common/lib/$1'generated-types';
+} from '@vendure/common/lib/generated-types';
 import gql from 'graphql-tag';
 import path from 'path';