Browse Source

test(core): Fix TS error in e2e test

Michael Bromley 3 years ago
parent
commit
fb42161ede
1 changed files with 8 additions and 2 deletions
  1. 8 2
      packages/core/e2e/custom-field-relations.e2e-spec.ts

+ 8 - 2
packages/core/e2e/custom-field-relations.e2e-spec.ts

@@ -42,19 +42,26 @@ const entitiesWithCustomFields = enumerate<keyof CustomFields>()(
     'Asset',
     'Asset',
     'Channel',
     'Channel',
     'Collection',
     'Collection',
+    'Country',
     'Customer',
     'Customer',
+    'CustomerGroup',
     'Facet',
     'Facet',
     'FacetValue',
     'FacetValue',
     'Fulfillment',
     'Fulfillment',
     'GlobalSettings',
     'GlobalSettings',
     'Order',
     'Order',
     'OrderLine',
     'OrderLine',
+    'PaymentMethod',
     'Product',
     'Product',
     'ProductOption',
     'ProductOption',
     'ProductOptionGroup',
     'ProductOptionGroup',
     'ProductVariant',
     'ProductVariant',
-    'User',
+    'Promotion',
     'ShippingMethod',
     'ShippingMethod',
+    'TaxCategory',
+    'TaxRate',
+    'User',
+    'Zone',
 );
 );
 
 
 const customFieldConfig: CustomFields = {};
 const customFieldConfig: CustomFields = {};
@@ -236,7 +243,6 @@ describe('Custom field relations', () => {
         });
         });
 
 
         it('ProductVariant prices get resolved', async () => {
         it('ProductVariant prices get resolved', async () => {
-            debugger;
             const { product } = await adminClient.query(gql`
             const { product } = await adminClient.query(gql`
                 query {
                 query {
                     product(id: "${productId}") {
                     product(id: "${productId}") {