feat(medusa): Allow to filter collections by discount condition id (#2411)
This commit is contained in:
committed by
GitHub
parent
308b99cc5d
commit
c717442451
@@ -6,10 +6,10 @@ Object {
|
||||
Object {
|
||||
"created_at": Any<String>,
|
||||
"deleted_at": null,
|
||||
"handle": "test-collection",
|
||||
"id": "test-collection",
|
||||
"handle": "test-collection2",
|
||||
"id": "test-collection2",
|
||||
"metadata": null,
|
||||
"title": "Test collection",
|
||||
"title": "Test collection 2",
|
||||
"updated_at": Any<String>,
|
||||
},
|
||||
Object {
|
||||
@@ -24,10 +24,10 @@ Object {
|
||||
Object {
|
||||
"created_at": Any<String>,
|
||||
"deleted_at": null,
|
||||
"handle": "test-collection2",
|
||||
"id": "test-collection2",
|
||||
"handle": "test-collection",
|
||||
"id": "test-collection",
|
||||
"metadata": null,
|
||||
"title": "Test collection 2",
|
||||
"title": "Test collection",
|
||||
"updated_at": Any<String>,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -66,7 +66,7 @@ describe("/store/collections", () => {
|
||||
expect(response.data).toMatchSnapshot({
|
||||
collections: [
|
||||
{
|
||||
id: "test-collection",
|
||||
id: "test-collection2",
|
||||
created_at: expect.any(String),
|
||||
updated_at: expect.any(String),
|
||||
},
|
||||
@@ -76,7 +76,7 @@ describe("/store/collections", () => {
|
||||
updated_at: expect.any(String),
|
||||
},
|
||||
{
|
||||
id: "test-collection2",
|
||||
id: "test-collection",
|
||||
created_at: expect.any(String),
|
||||
updated_at: expect.any(String),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user