From 3cdeea492dc3e6c4b698dfa1ad3666f22bf57553 Mon Sep 17 00:00:00 2001 From: Siddharth9890 Date: Mon, 20 Nov 2023 14:29:20 +0530 Subject: [PATCH] chore: git not working on folder change --- src/{pda/PDA.ts => pda.ts} | 0 test/pda.test.ts | 18 +++++------------- 2 files changed, 5 insertions(+), 13 deletions(-) rename src/{pda/PDA.ts => pda.ts} (100%) diff --git a/src/pda/PDA.ts b/src/pda.ts similarity index 100% rename from src/pda/PDA.ts rename to src/pda.ts diff --git a/test/pda.test.ts b/test/pda.test.ts index a4c6861..bb09a07 100644 --- a/test/pda.test.ts +++ b/test/pda.test.ts @@ -30,23 +30,15 @@ describe('PDA TESTING', () => { }, }; const { createPDA } = await api.pda.createPDA(obj); - expect(createPDA.dataAsset?.title).toEqual('test'); + const { changePDAStatus } = await api.pda.changePDAStatus({ + id: createPDA.id, + status: PDAStatus.Suspended, + }); + expect(changePDAStatus.status).toEqual(PDAStatus.Suspended); }, DEFAULT_TIMEOUT, ); - // it( - // 'change pda status', - // async () => { - // const { changePDAStatus } = await api.pda.changePDAStatus({ - // id: '6bc1a11f-f91d-4361-9a22-5df8d1bf4dc8', - // status: PDAStatus.Valid, - // }); - // expect(changePDAStatus.status).toEqual(PDAStatus.Valid); - // }, - // DEFAULT_TIMEOUT, - // ); - it( 'get single pda', async () => {