Update snapshots
This commit is contained in:
parent
189b1cc708
commit
e49e685c09
4 changed files with 962 additions and 4809 deletions
|
@ -1,91 +1,6 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`Crate filter chips 1`] = `
|
exports[`Get filter variables 1`] = `
|
||||||
Array [
|
|
||||||
Object {
|
|
||||||
"label": "Date from 2019-09-01",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Date to 2019-09-10",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "email@example.com",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Fulfilled",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Partially Fulfilled",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
]
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with date 1`] = `
|
|
||||||
Object {
|
|
||||||
"dateFrom": "2019-09-01",
|
|
||||||
"dateTo": "2019-09-01",
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with date last month 1`] = `
|
|
||||||
Object {
|
|
||||||
"dateFrom": "2019-09-01",
|
|
||||||
"dateTo": undefined,
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with date last week 1`] = `
|
|
||||||
Object {
|
|
||||||
"dateFrom": "2019-09-01",
|
|
||||||
"dateTo": undefined,
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with date last year 1`] = `
|
|
||||||
Object {
|
|
||||||
"dateFrom": "2019-09-01",
|
|
||||||
"dateTo": undefined,
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with date range 1`] = `
|
|
||||||
Object {
|
|
||||||
"dateFrom": "2019-09-01",
|
|
||||||
"dateTo": "2019-09-10",
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with fulfillment status 1`] = `
|
|
||||||
Object {
|
|
||||||
"status": Array [
|
|
||||||
"PARTIALLY_FULFILLED",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with multiple deduped values 1`] = `
|
|
||||||
Object {
|
|
||||||
"status": Array [
|
|
||||||
"FULFILLED",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with multiple values 1`] = `
|
|
||||||
Object {
|
|
||||||
"status": Array [
|
|
||||||
"FULFILLED",
|
|
||||||
"PARTIALLY_FULFILLED",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Get filter variables from multiple status value 1`] = `
|
|
||||||
Object {
|
Object {
|
||||||
"created": Object {
|
"created": Object {
|
||||||
"gte": "2019-09-01",
|
"gte": "2019-09-01",
|
||||||
|
@ -99,17 +14,3 @@ Object {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`Get filter variables from single status value 1`] = `
|
|
||||||
Object {
|
|
||||||
"created": Object {
|
|
||||||
"gte": "2019-09-01",
|
|
||||||
"lte": "2019-09-10",
|
|
||||||
},
|
|
||||||
"customer": "email@example.com",
|
|
||||||
"search": "24",
|
|
||||||
"status": Array [
|
|
||||||
"FULFILLED",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
|
@ -1,61 +1,8 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`Crate filter chips 1`] = `
|
|
||||||
Array [
|
|
||||||
Object {
|
|
||||||
"label": "Price from $10.00",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Price to $20.00",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Available",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
Object {
|
|
||||||
"label": "Published",
|
|
||||||
"onClick": [Function],
|
|
||||||
},
|
|
||||||
]
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with price 1`] = `
|
|
||||||
Object {
|
|
||||||
"priceFrom": "10",
|
|
||||||
"priceTo": "10",
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with price range 1`] = `
|
|
||||||
Object {
|
|
||||||
"priceFrom": Array [
|
|
||||||
"10",
|
|
||||||
"20",
|
|
||||||
],
|
|
||||||
"priceTo": Array [
|
|
||||||
"10",
|
|
||||||
"20",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with publication status 1`] = `
|
|
||||||
Object {
|
|
||||||
"isPublished": "false",
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Create filter object with stock status 1`] = `
|
|
||||||
Object {
|
|
||||||
"status": "OUT_OF_STOCK",
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`Get filter variables 1`] = `
|
exports[`Get filter variables 1`] = `
|
||||||
Object {
|
Object {
|
||||||
"isPublished": true,
|
"isPublished": false,
|
||||||
"price": Object {
|
"price": Object {
|
||||||
"gte": 10,
|
"gte": 10,
|
||||||
"lte": 20,
|
"lte": 20,
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue