@mohasinac/appkit 3.0.6 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/client/features/lottery/LotteryAdminEditView.d.ts +42 -0
- package/dist/_internal/client/features/lottery/LotteryAdminEditView.js +86 -0
- package/dist/_internal/client/features/lottery/LotteryAdminSlotView.d.ts +14 -0
- package/dist/_internal/client/features/lottery/LotteryAdminSlotView.js +46 -0
- package/dist/_internal/client/features/lottery/LotteryDetailView.d.ts +28 -0
- package/dist/_internal/client/features/lottery/LotteryDetailView.js +17 -0
- package/dist/_internal/client/features/lottery/LotteryEntriesView.d.ts +23 -0
- package/dist/_internal/client/features/lottery/LotteryEntriesView.js +58 -0
- package/dist/_internal/client/features/lottery/LotteryListView.d.ts +21 -0
- package/dist/_internal/client/features/lottery/LotteryListView.js +25 -0
- package/dist/_internal/client/features/lottery/LotteryPullForm.d.ts +19 -0
- package/dist/_internal/client/features/lottery/LotteryPullForm.js +65 -0
- package/dist/_internal/client/features/lottery/LotterySlotGrid.d.ts +13 -0
- package/dist/_internal/client/features/lottery/LotterySlotGrid.js +21 -0
- package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.d.ts +28 -0
- package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.js +18 -0
- package/dist/_internal/server/features/auctions/__tests__/service.test.d.ts +1 -0
- package/dist/_internal/server/features/auctions/__tests__/service.test.js +140 -0
- package/dist/_internal/server/features/checkout/__tests__/actions.test.d.ts +1 -0
- package/dist/_internal/server/features/checkout/__tests__/actions.test.js +600 -0
- package/dist/_internal/server/features/lottery/actions.d.ts +43 -0
- package/dist/_internal/server/features/lottery/actions.js +243 -0
- package/dist/_internal/server/features/lottery/adapters.d.ts +9 -0
- package/dist/_internal/server/features/lottery/adapters.js +21 -0
- package/dist/_internal/server/features/lottery/data.d.ts +20 -0
- package/dist/_internal/server/features/lottery/data.js +41 -0
- package/dist/_internal/server/features/lottery/metadata.d.ts +6 -0
- package/dist/_internal/server/features/lottery/metadata.js +31 -0
- package/dist/_internal/server/features/refunds/__tests__/actions.test.d.ts +1 -0
- package/dist/_internal/server/features/refunds/__tests__/actions.test.js +263 -0
- package/dist/_internal/server/jobs/core/__tests__/auctionSettlement.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/auctionSettlement.test.js +249 -0
- package/dist/_internal/server/jobs/core/__tests__/onBidPlaced.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onBidPlaced.test.js +201 -0
- package/dist/_internal/server/jobs/core/__tests__/onOrderCreate.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onOrderCreate.test.js +169 -0
- package/dist/_internal/server/jobs/core/__tests__/onOrderStatusChange.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onOrderStatusChange.test.js +148 -0
- package/dist/_internal/server/jobs/core/__tests__/onProductStockChange.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onProductStockChange.test.js +210 -0
- package/dist/_internal/server/jobs/core/__tests__/onReviewWrite.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onReviewWrite.test.js +190 -0
- package/dist/_internal/server/jobs/core/__tests__/onUserBanChange.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/onUserBanChange.test.js +161 -0
- package/dist/_internal/server/jobs/core/__tests__/payoutBatch.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/payoutBatch.test.js +302 -0
- package/dist/_internal/server/jobs/core/__tests__/triggerEventRaffle.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/triggerEventRaffle.test.js +252 -0
- package/dist/_internal/server/jobs/core/__tests__/wrapJobHandler.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/wrapJobHandler.test.js +129 -0
- package/dist/_internal/shared/actions/action-registry.d.ts +1 -1
- package/dist/_internal/shared/actions/action-registry.js +46 -0
- package/dist/_internal/shared/features/products/schema.d.ts +8 -8
- package/dist/client.d.ts +9 -0
- package/dist/client.js +9 -0
- package/dist/constants/field-names.d.ts +5 -1
- package/dist/constants/field-names.js +5 -1
- package/dist/features/addresses/repository/__tests__/addresses.repository.test.d.ts +1 -0
- package/dist/features/addresses/repository/__tests__/addresses.repository.test.js +386 -0
- package/dist/features/admin/api/bids/route.d.ts +2 -2
- package/dist/features/admin/api/coupons/route.d.ts +2 -2
- package/dist/features/admin/api/products/route.d.ts +2 -2
- package/dist/features/admin/api/reviews/route.d.ts +2 -2
- package/dist/features/admin/repository/__tests__/notification.repository.test.d.ts +1 -0
- package/dist/features/admin/repository/__tests__/notification.repository.test.js +356 -0
- package/dist/features/admin/repository/__tests__/site-settings.repository.test.d.ts +1 -0
- package/dist/features/admin/repository/__tests__/site-settings.repository.test.js +298 -0
- package/dist/features/auctions/repository/__tests__/bid.repository.test.d.ts +1 -0
- package/dist/features/auctions/repository/__tests__/bid.repository.test.js +290 -0
- package/dist/features/auth/api/route.d.ts +2 -2
- package/dist/features/auth/repository/__tests__/session.repository.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/session.repository.test.js +310 -0
- package/dist/features/auth/repository/__tests__/session.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/session.test.js +146 -0
- package/dist/features/auth/repository/__tests__/sms-counter.repository.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/sms-counter.repository.test.js +171 -0
- package/dist/features/auth/repository/__tests__/sms-counter.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/sms-counter.test.js +88 -0
- package/dist/features/auth/repository/__tests__/token.repository.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/token.repository.test.js +260 -0
- package/dist/features/auth/repository/__tests__/token.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/token.test.js +140 -0
- package/dist/features/auth/repository/__tests__/user.repository.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/user.repository.test.js +352 -0
- package/dist/features/auth/repository/__tests__/user.test.d.ts +1 -0
- package/dist/features/auth/repository/__tests__/user.test.js +226 -0
- package/dist/features/auth/repository/session.repository.js +10 -1
- package/dist/features/cart/repository/__tests__/cart.repository.test.d.ts +1 -0
- package/dist/features/cart/repository/__tests__/cart.repository.test.js +371 -0
- package/dist/features/cart/repository/cart.repository.js +2 -2
- package/dist/features/categories/api/[id]/route.d.ts +4 -4
- package/dist/features/categories/api/route.d.ts +2 -2
- package/dist/features/categories/repository/__tests__/categories.repository.test.d.ts +1 -0
- package/dist/features/categories/repository/__tests__/categories.repository.test.js +813 -0
- package/dist/features/events/components/EventCard.js +1 -0
- package/dist/features/events/repository/__tests__/event.repository.test.d.ts +1 -0
- package/dist/features/events/repository/__tests__/event.repository.test.js +299 -0
- package/dist/features/events/schemas/firestore.d.ts +3 -0
- package/dist/features/events/schemas/index.d.ts +834 -14
- package/dist/features/events/schemas/index.js +80 -1
- package/dist/features/events/types/index.d.ts +4 -1
- package/dist/features/faq/repository/__tests__/faqs.repository.test.d.ts +1 -0
- package/dist/features/faq/repository/__tests__/faqs.repository.test.js +311 -0
- package/dist/features/history/repository/__tests__/user-history.repository.test.d.ts +1 -0
- package/dist/features/history/repository/__tests__/user-history.repository.test.js +180 -0
- package/dist/features/homepage/api/[id]/route.d.ts +4 -4
- package/dist/features/homepage/api/carousel/[id]/route.d.ts +4 -4
- package/dist/features/homepage/api/carousel/route.d.ts +2 -2
- package/dist/features/homepage/api/route.d.ts +2 -2
- package/dist/features/homepage/repository/__tests__/carousel.repository.test.d.ts +1 -0
- package/dist/features/homepage/repository/__tests__/carousel.repository.test.js +182 -0
- package/dist/features/homepage/repository/__tests__/homepage-sections.repository.test.d.ts +1 -0
- package/dist/features/homepage/repository/__tests__/homepage-sections.repository.test.js +185 -0
- package/dist/features/lottery/repository/lottery-entry.repository.d.ts +33 -0
- package/dist/features/lottery/repository/lottery-entry.repository.js +130 -0
- package/dist/features/lottery/schemas/firestore.d.ts +49 -0
- package/dist/features/lottery/schemas/firestore.js +25 -0
- package/dist/features/lottery/schemas/zod.d.ts +113 -0
- package/dist/features/lottery/schemas/zod.js +39 -0
- package/dist/features/lottery/types/index.d.ts +67 -0
- package/dist/features/lottery/types/index.js +55 -0
- package/dist/features/messages/repository/__tests__/conversations.repository.test.d.ts +1 -0
- package/dist/features/messages/repository/__tests__/conversations.repository.test.js +257 -0
- package/dist/features/orders/repository/__tests__/orders.repository.test.d.ts +1 -0
- package/dist/features/orders/repository/__tests__/orders.repository.test.js +211 -0
- package/dist/features/payments/repository/__tests__/payout.repository.test.d.ts +1 -0
- package/dist/features/payments/repository/__tests__/payout.repository.test.js +292 -0
- package/dist/features/products/api/[id]/route.d.ts +4 -4
- package/dist/features/products/api/route.d.ts +2 -2
- package/dist/features/products/repository/__tests__/product-features.repository.test.d.ts +1 -0
- package/dist/features/products/repository/__tests__/product-features.repository.test.js +329 -0
- package/dist/features/products/repository/__tests__/products.repository.test.d.ts +1 -0
- package/dist/features/products/repository/__tests__/products.repository.test.js +607 -0
- package/dist/features/products/schemas/firestore.d.ts +15 -1
- package/dist/features/products/schemas/index.d.ts +12 -12
- package/dist/features/products/schemas/index.js +4 -2
- package/dist/features/products/types/index.d.ts +1 -1
- package/dist/features/promotions/repository/__tests__/claimed-coupons.repository.test.d.ts +1 -0
- package/dist/features/promotions/repository/__tests__/claimed-coupons.repository.test.js +219 -0
- package/dist/features/promotions/repository/__tests__/coupons.repository.test.d.ts +1 -0
- package/dist/features/promotions/repository/__tests__/coupons.repository.test.js +480 -0
- package/dist/features/reviews/api/[id]/route.d.ts +4 -4
- package/dist/features/reviews/api/route.d.ts +2 -2
- package/dist/features/reviews/repository/__tests__/reviews.repository.test.d.ts +1 -0
- package/dist/features/reviews/repository/__tests__/reviews.repository.test.js +327 -0
- package/dist/features/scams/repository/__tests__/scammer.repository.test.d.ts +1 -0
- package/dist/features/scams/repository/__tests__/scammer.repository.test.js +385 -0
- package/dist/features/search/repository/__tests__/search.repository.test.d.ts +1 -0
- package/dist/features/search/repository/__tests__/search.repository.test.js +369 -0
- package/dist/features/seller/api/coupons/route.d.ts +2 -2
- package/dist/features/seller/api/offers/route.d.ts +2 -2
- package/dist/features/seller/api/products/route.d.ts +2 -2
- package/dist/features/seller/api/store/route.d.ts +2 -2
- package/dist/features/seller/repository/__tests__/offer.repository.test.d.ts +1 -0
- package/dist/features/seller/repository/__tests__/offer.repository.test.js +458 -0
- package/dist/features/stores/repository/__tests__/store.repository.test.d.ts +1 -0
- package/dist/features/stores/repository/__tests__/store.repository.test.js +261 -0
- package/dist/features/support/repository/__tests__/support.repository.test.d.ts +1 -0
- package/dist/features/support/repository/__tests__/support.repository.test.js +312 -0
- package/dist/features/wishlist/repository/__tests__/user-wishlist.repository.test.d.ts +1 -0
- package/dist/features/wishlist/repository/__tests__/user-wishlist.repository.test.js +139 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +17 -0
- package/dist/next/api/routeHandler.d.ts +1 -1
- package/dist/next/routing/route-map.d.ts +13 -0
- package/dist/next/routing/route-map.js +6 -0
- package/dist/repositories/index.d.ts +1 -0
- package/dist/repositories/index.js +2 -0
- package/dist/security/index.d.ts +1 -1
- package/dist/security/index.js +1 -1
- package/dist/security/pii-schemas.d.ts +2 -0
- package/dist/security/pii-schemas.js +6 -0
- package/dist/seed/actions/demo-seed-actions.d.ts +1 -1
- package/dist/seed/events-seed-data.js +85 -2
- package/dist/seed/grouped-listings-seed-data.d.ts +3 -1
- package/dist/seed/index.d.ts +1 -0
- package/dist/seed/index.js +1 -0
- package/dist/seed/lottery-entries-seed-data.d.ts +2 -0
- package/dist/seed/lottery-entries-seed-data.js +108 -0
- package/dist/seed/manifest.js +1 -0
- package/dist/seed/products-preorders-seed-data.d.ts +3 -1
- package/dist/server.d.ts +6 -0
- package/dist/server.js +6 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-utilities.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { describe, it, expect, vi, beforeEach } from "vitest";
|
|
2
|
+
vi.mock("../../../../../repositories", () => ({
|
|
3
|
+
productRepository: {
|
|
4
|
+
findByIdOrSlug: vi.fn(),
|
|
5
|
+
},
|
|
6
|
+
bidRepository: {
|
|
7
|
+
findHighestBid: vi.fn(),
|
|
8
|
+
},
|
|
9
|
+
}));
|
|
10
|
+
import { computeMinBid, assertBidAmount, assertNotAuctionOwner, shouldAutoExtend, computeExtendedEndDate, } from "../service";
|
|
11
|
+
import { productRepository } from "../../../../../repositories";
|
|
12
|
+
import { BidTooLowError, BidOnOwnAuctionError, } from "../../../../shared/features/auctions/errors";
|
|
13
|
+
import { AUCTION_MIN_BID_INCREMENT_PAISE, AUCTION_SNIPING_WINDOW_SECONDS, AUCTION_DEFAULT_EXTENSION_MINUTES, } from "../../../../shared/features/auctions/config";
|
|
14
|
+
function makeAuction(overrides = {}) {
|
|
15
|
+
const future = new Date(Date.now() + 60 * 60 * 1000); // 1 hour from now
|
|
16
|
+
return {
|
|
17
|
+
id: "auction-test",
|
|
18
|
+
storeId: "store-owner",
|
|
19
|
+
listingType: "auction",
|
|
20
|
+
status: "published",
|
|
21
|
+
auctionEndDate: future,
|
|
22
|
+
autoExtendable: true,
|
|
23
|
+
auctionExtensionMinutes: AUCTION_DEFAULT_EXTENSION_MINUTES,
|
|
24
|
+
...overrides,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
beforeEach(() => {
|
|
28
|
+
vi.clearAllMocks();
|
|
29
|
+
});
|
|
30
|
+
describe("computeMinBid", () => {
|
|
31
|
+
it("no current bid → returns startingBid + default increment", () => {
|
|
32
|
+
const product = makeAuction({ startingBid: 10000, currentBid: undefined });
|
|
33
|
+
expect(computeMinBid(product)).toBe(10000 + AUCTION_MIN_BID_INCREMENT_PAISE);
|
|
34
|
+
});
|
|
35
|
+
it("currentBid set → returns currentBid + default increment", () => {
|
|
36
|
+
const product = makeAuction({ currentBid: 50000 });
|
|
37
|
+
expect(computeMinBid(product)).toBe(50000 + AUCTION_MIN_BID_INCREMENT_PAISE);
|
|
38
|
+
});
|
|
39
|
+
it("uses the product's configured minBidIncrement when present", () => {
|
|
40
|
+
const product = makeAuction({ currentBid: 10000, minBidIncrement: 500 });
|
|
41
|
+
expect(computeMinBid(product)).toBe(10500);
|
|
42
|
+
});
|
|
43
|
+
it("no currentBid and no startingBid → 0 + increment", () => {
|
|
44
|
+
const product = makeAuction({ currentBid: undefined, startingBid: undefined });
|
|
45
|
+
expect(computeMinBid(product)).toBe(AUCTION_MIN_BID_INCREMENT_PAISE);
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
describe("assertBidAmount", () => {
|
|
49
|
+
it("bidAmount >= computeMinBid → no throw", () => {
|
|
50
|
+
const product = makeAuction({ currentBid: 10000 });
|
|
51
|
+
const min = computeMinBid(product);
|
|
52
|
+
expect(() => assertBidAmount(product, min)).not.toThrow();
|
|
53
|
+
expect(() => assertBidAmount(product, min + 100)).not.toThrow();
|
|
54
|
+
});
|
|
55
|
+
it("bidAmount < computeMinBid → throws BidTooLowError", () => {
|
|
56
|
+
const product = makeAuction({ currentBid: 10000 });
|
|
57
|
+
const min = computeMinBid(product);
|
|
58
|
+
expect(() => assertBidAmount(product, min - 1)).toThrow(BidTooLowError);
|
|
59
|
+
});
|
|
60
|
+
it("BidTooLowError contains the expected minimum", () => {
|
|
61
|
+
const product = makeAuction({ currentBid: 10000 });
|
|
62
|
+
const min = computeMinBid(product);
|
|
63
|
+
let caught;
|
|
64
|
+
try {
|
|
65
|
+
assertBidAmount(product, 0);
|
|
66
|
+
}
|
|
67
|
+
catch (e) {
|
|
68
|
+
caught = e;
|
|
69
|
+
}
|
|
70
|
+
expect(caught).toBeInstanceOf(BidTooLowError);
|
|
71
|
+
expect(caught?.message).toContain(String(min));
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
describe("assertNotAuctionOwner", () => {
|
|
75
|
+
it("bidderId !== storeId (owner) → no throw", () => {
|
|
76
|
+
const product = makeAuction({ storeId: "store-owner" });
|
|
77
|
+
expect(() => assertNotAuctionOwner(product, "different-user")).not.toThrow();
|
|
78
|
+
});
|
|
79
|
+
it("bidderId === storeId → throws BidOnOwnAuctionError", () => {
|
|
80
|
+
const product = makeAuction({ storeId: "store-owner" });
|
|
81
|
+
expect(() => assertNotAuctionOwner(product, "store-owner")).toThrow(BidOnOwnAuctionError);
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
describe("shouldAutoExtend", () => {
|
|
85
|
+
it("bid placed within sniping window → returns true", () => {
|
|
86
|
+
const nearlyEnd = new Date(Date.now() + (AUCTION_SNIPING_WINDOW_SECONDS - 30) * 1000);
|
|
87
|
+
const product = makeAuction({ auctionEndDate: nearlyEnd, autoExtendable: true });
|
|
88
|
+
expect(shouldAutoExtend(product)).toBe(true);
|
|
89
|
+
});
|
|
90
|
+
it("bid placed well outside sniping window → returns false", () => {
|
|
91
|
+
const farFuture = new Date(Date.now() + 60 * 60 * 1000); // 1 hour
|
|
92
|
+
const product = makeAuction({ auctionEndDate: farFuture, autoExtendable: true });
|
|
93
|
+
expect(shouldAutoExtend(product)).toBe(false);
|
|
94
|
+
});
|
|
95
|
+
it("autoExtendable=false → always returns false, even if within window", () => {
|
|
96
|
+
const nearlyEnd = new Date(Date.now() + 10 * 1000); // 10 seconds
|
|
97
|
+
const product = makeAuction({ auctionEndDate: nearlyEnd, autoExtendable: false });
|
|
98
|
+
expect(shouldAutoExtend(product)).toBe(false);
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
describe("computeExtendedEndDate", () => {
|
|
102
|
+
it("returns endDate + configured extensionMinutes", () => {
|
|
103
|
+
const end = new Date("2026-01-01T12:00:00Z");
|
|
104
|
+
const product = makeAuction({ auctionEndDate: end, auctionExtensionMinutes: 10 });
|
|
105
|
+
const result = computeExtendedEndDate(product);
|
|
106
|
+
expect(result.getTime()).toBe(end.getTime() + 10 * 60 * 1000);
|
|
107
|
+
});
|
|
108
|
+
it("uses AUCTION_DEFAULT_EXTENSION_MINUTES when not configured", () => {
|
|
109
|
+
const end = new Date("2026-01-01T12:00:00Z");
|
|
110
|
+
const product = makeAuction({ auctionEndDate: end, auctionExtensionMinutes: undefined });
|
|
111
|
+
const result = computeExtendedEndDate(product);
|
|
112
|
+
expect(result.getTime()).toBe(end.getTime() + AUCTION_DEFAULT_EXTENSION_MINUTES * 60 * 1000);
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
describe("assertAuctionActive (integration with repo mock)", async () => {
|
|
116
|
+
const { assertAuctionActive } = await import("../service");
|
|
117
|
+
it("auction exists + active → returns product", async () => {
|
|
118
|
+
const activeAuction = makeAuction();
|
|
119
|
+
productRepository.findByIdOrSlug.mockResolvedValue(activeAuction);
|
|
120
|
+
const result = await assertAuctionActive("auction-test");
|
|
121
|
+
expect(result).toBeDefined();
|
|
122
|
+
});
|
|
123
|
+
it("product not found → throws AuctionNotFoundError", async () => {
|
|
124
|
+
productRepository.findByIdOrSlug.mockResolvedValue(null);
|
|
125
|
+
const { AuctionNotFoundError } = await import("../../../../shared/features/auctions/errors");
|
|
126
|
+
await expect(assertAuctionActive("nonexistent")).rejects.toBeInstanceOf(AuctionNotFoundError);
|
|
127
|
+
});
|
|
128
|
+
it("product found but not an auction listing → throws AuctionNotFoundError", async () => {
|
|
129
|
+
const standardProduct = makeAuction({ listingType: "standard" });
|
|
130
|
+
productRepository.findByIdOrSlug.mockResolvedValue(standardProduct);
|
|
131
|
+
const { AuctionNotFoundError } = await import("../../../../shared/features/auctions/errors");
|
|
132
|
+
await expect(assertAuctionActive("auction-test")).rejects.toBeInstanceOf(AuctionNotFoundError);
|
|
133
|
+
});
|
|
134
|
+
it("auction exists but endDate in past → throws AuctionEndedError", async () => {
|
|
135
|
+
const expiredAuction = makeAuction({ auctionEndDate: new Date(Date.now() - 1000) });
|
|
136
|
+
productRepository.findByIdOrSlug.mockResolvedValue(expiredAuction);
|
|
137
|
+
const { AuctionEndedError } = await import("../../../../shared/features/auctions/errors");
|
|
138
|
+
await expect(assertAuctionActive("auction-test")).rejects.toBeInstanceOf(AuctionEndedError);
|
|
139
|
+
});
|
|
140
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|