Skip to content

Commit 6b9c7d2

Browse files
committed
fix: use SUBMITTED instead of non-existent CREATED in verify test
TRANSACTION_STATUS enum only has SUBMITTED, VERIFIED, REJECTED. The test was referencing CREATED which caused TS2339 type error in CI.
1 parent 9f9f991 commit 6b9c7d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/routes/__tests__/dashboard.purchase.verify.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('dashboard.purchase.verify loader', () => {
5454
it('returns transaction and user when transaction is not verified', async () => {
5555
const fakeTransaction = {
5656
id: 'tx-1',
57-
status: TRANSACTION_STATUS.CREATED,
57+
status: TRANSACTION_STATUS.SUBMITTED,
5858
}
5959
vi.mocked(getFirstTransaction).mockResolvedValue(fakeTransaction as never)
6060

0 commit comments

Comments
 (0)