feat: configure and display public seller descriptions
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 07:40:18 -04:00
parent e630a89e8d
commit 94c37250d1
22 changed files with 158 additions and 6 deletions
@@ -37,6 +37,7 @@ function createTestApp() {
askingPriceMinor: 2499,
status: 'PENDING',
sellerDisplayName: 'Pika Collectibles',
sellerDescription: 'Independent Pokémon collector.',
sellerContactEmail: 'hello@pika.example',
sellerContactPhone: null,
};
@@ -76,6 +77,7 @@ test('returns a public listing detail or a not-found response', async (testConte
assert.equal(detailResponse.statusCode, 200);
assert.equal('inventoryItemId' in detailResponse.json().data, false);
assert.equal(detailResponse.json().data.sellerDisplayName, 'Pika Collectibles');
assert.equal(detailResponse.json().data.sellerDescription, 'Independent Pokémon collector.');
assert.equal(detailResponse.json().data.sellerContactEmail, 'hello@pika.example');
assert.equal(missingResponse.statusCode, 404);
assert.equal(missingResponse.json().error.code, 'LISTING_NOT_FOUND');