Skip to content

Commit

Permalink
fix: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
fPolic committed Jul 6, 2022
1 parent 160b552 commit 720bb8d
Showing 1 changed file with 0 additions and 230 deletions.
Original file line number Diff line number Diff line change
@@ -1,235 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Product import strategy \`preProcessBatchJob\` should generate import ops and store them in Redis 1`] = `
[MockFunction] {
"calls": Array [
Array [
Array [
Object {
"product.collection.handle": "test-collection1",
"product.collection.title": "Test collection 1",
"product.description": "test-product-description-1",
"product.discountable": true,
"product.external_id": null,
"product.handle": "test-product-product-1",
"product.height": null,
"product.hs_code": null,
"product.id": "O6S1YQ6mKm",
"product.images": Array [
"test-image.png",
],
"product.length": null,
"product.material": null,
"product.mid_code": null,
"product.options": Array [
Object {
"title": "test-option-1",
},
Object {
"title": "test-option-2",
},
],
"product.origin_country": null,
"product.profile.name": "profile_1",
"product.profile.type": "profile_type_1",
"product.profile_id": Object {
"id": "default_shipping_profile",
},
"product.status": "draft",
"product.subtitle": null,
"product.tags": Array [
Object {
"value": "123_1",
},
],
"product.thumbnail": null,
"product.title": "Test product",
"product.type.value": "test-type-1",
"product.weight": null,
"product.width": null,
"variant.allow_backorder": false,
"variant.barcode": "test-barcode-1",
"variant.height": null,
"variant.hs_code": null,
"variant.id": "SebniWTDeC",
"variant.inventory_quantity": 10,
"variant.length": null,
"variant.manage_inventory": true,
"variant.material": null,
"variant.mid_code": null,
"variant.options": Array [
Object {
"_title": "test-option-1",
"value": "option 1 value red",
},
Object {
"_title": "test-option-2",
"value": "option 2 value 1",
},
],
"variant.origin_country": null,
"variant.prices": Array [
Object {
"amount": 100,
"region_id": "reg_HMnixPlOicAs7aBlXuchAGxd",
},
Object {
"amount": 110,
"currency_code": "USD",
},
Object {
"amount": 130,
"region_id": "reg_HMnixPlOicAs7aBlXuchAGxd",
},
],
"variant.sku": "test-sku-1",
"variant.title": "Test variant",
"variant.weight": null,
"variant.width": null,
},
Object {
"product.collection.handle": "test-collection2",
"product.collection.title": "Test collection",
"product.description": "test-product-description",
"product.discountable": true,
"product.external_id": null,
"product.handle": "test-product-product-2",
"product.height": null,
"product.hs_code": null,
"product.id": "5VxiEkmnPV",
"product.images": Array [
"test-image.png",
],
"product.length": null,
"product.material": null,
"product.mid_code": null,
"product.options": Array [
Object {
"title": "test-option",
},
],
"product.origin_country": null,
"product.profile.name": "profile_2",
"product.profile.type": "profile_type_2",
"product.profile_id": Object {
"id": "default_shipping_profile",
},
"product.status": "draft",
"product.subtitle": null,
"product.tags": Array [
Object {
"value": "123",
},
],
"product.thumbnail": null,
"product.title": "Test product",
"product.type.value": "test-type",
"product.weight": null,
"product.width": null,
"variant.allow_backorder": false,
"variant.barcode": "test-barcode-2",
"variant.height": null,
"variant.hs_code": null,
"variant.id": "CaBp7amx3r",
"variant.inventory_quantity": 10,
"variant.length": null,
"variant.manage_inventory": true,
"variant.material": null,
"variant.mid_code": null,
"variant.options": Array [
Object {
"_title": "test-option",
"value": "Option 1 value 1",
},
],
"variant.origin_country": null,
"variant.prices": Array [
Object {
"amount": 110,
"region_id": "reg_HMnixPlOicAs7aBlXuchAGxd",
},
],
"variant.sku": "test-sku-2",
"variant.title": "Test variant",
"variant.weight": null,
"variant.width": null,
},
Object {
"product.collection.handle": "test-collection2",
"product.collection.title": "Test collection",
"product.description": "test-product-description",
"product.discountable": true,
"product.external_id": null,
"product.handle": "test-product-product-2",
"product.height": null,
"product.hs_code": null,
"product.id": "5VxiEkmnPV",
"product.images": Array [
"test-image.png",
],
"product.length": null,
"product.material": null,
"product.mid_code": null,
"product.options": Array [
Object {
"title": "test-option",
},
],
"product.origin_country": null,
"product.profile.name": "profile_2",
"product.profile.type": "profile_type_2",
"product.status": "draft",
"product.subtitle": null,
"product.tags": Array [
Object {
"value": "123",
},
],
"product.thumbnail": null,
"product.title": "Test product",
"product.type.value": "test-type",
"product.weight": null,
"product.width": null,
"variant.allow_backorder": false,
"variant.barcode": "test-barcode-3",
"variant.height": null,
"variant.hs_code": null,
"variant.id": "3SS1MHGDEJ",
"variant.inventory_quantity": 10,
"variant.length": null,
"variant.manage_inventory": true,
"variant.material": null,
"variant.mid_code": null,
"variant.options": Array [
Object {
"_title": "test-option",
"value": "Option 1 Value blue",
},
],
"variant.origin_country": null,
"variant.prices": Array [
Object {
"amount": 120,
"currency_code": "USD",
},
],
"variant.sku": "test-sku-3",
"variant.title": "Test variant",
"variant.weight": null,
"variant.width": null,
},
],
],
],
"results": Array [
Object {
"type": "return",
"value": Promise {},
},
],
}
`;

exports[`Product import strategy \`preProcessBatchJob\` should generate import ops and upload them to a bucket using the file service 1`] = `
[MockFunction] {
"calls": Array [
Expand Down

0 comments on commit 720bb8d

Please sign in to comment.