Skip to content

Commit b686f04

Browse files
committed
fix: test structure
1 parent 21a83f2 commit b686f04

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

__tests__/index.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ describe('starknet endpoints', () => {
3030
test('getTransaction()', () => {
3131
return expect(starknet.getTransaction(286136)).resolves.not.toThrow();
3232
});
33-
test('addTransaction() deploy', async () => {
33+
});
34+
35+
describe('addTransaction()', () => {
36+
test('type: "DEPLOY"', async () => {
3437
const inputContract = compiledArgentAccount as unknown as CompiledContract;
3538

3639
const contractDefinition = {
@@ -50,6 +53,8 @@ describe('starknet endpoints', () => {
5053
// eslint-disable-next-line no-console
5154
console.log('txId:', response.tx_id);
5255
});
56+
xtest('type: "INVOKE_FUNCTION"', () => {});
57+
5358
test('deployContract()', async () => {
5459
const inputContract = compiledArgentAccount as unknown as CompiledContract;
5560

@@ -65,8 +70,4 @@ describe('starknet endpoints', () => {
6570
console.log('txId:', response.tx_id);
6671
});
6772
});
68-
69-
describe('gateway endpoints', () => {
70-
xtest('addTransaction()', () => {});
71-
});
7273
});

0 commit comments

Comments
 (0)