Skip to content

Commit e6fbd50

Browse files
committed
fix: tests
1 parent 9280dab commit e6fbd50

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/catalog/lookup.test.js

-3
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ describe('handleProductLookupRequest Tests', () => {
6262

6363
assert.equal(response.headers.get('Location'), 'https://test-origin/test-org/test-site/test-env/test-store-code/test-store-view-code/product/1234');
6464
assert.equal(response.status, 301);
65-
const responseBody = await response.json();
66-
assert.deepEqual(responseBody, { sku: '1234', name: 'Test Product' });
6765

6866
assert(lookupSkuStub.calledOnceWith(ctx, config, 'some-url-key'));
69-
assert(fetchProductStub.calledOnceWith(ctx, config, '1234'));
7067
});
7168

7269
it('should return a list of all products when no urlKey is provided', async () => {

0 commit comments

Comments
 (0)