Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-sven committed Aug 27, 2024
1 parent 56c3b7e commit 0ac7e15
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion sdk/typescript/rooch-sdk/test-e2e/case/checkpoint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Checkpoints Reading API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down
9 changes: 4 additions & 5 deletions sdk/typescript/rooch-sdk/test-e2e/case/coin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Checkpoints Coin API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand All @@ -27,17 +27,16 @@ describe('Checkpoints Coin API', () => {
})

it('Check balances should be success', async () => {

const tx = new Transaction()
tx.callFunction({
target: `${await testBox.defaultCmdAddress()}::fixed_supply_coin::faucet`,
args: [
Args.object({
address: await testBox.defaultCmdAddress(),
module: 'fixed_supply_coin',
name:'Treasury'
})
]
name: 'Treasury',
}),
],
})

let result = await testBox.signAndExecuteTransaction(tx)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Checkpoints Example Entry Function', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/rooch-sdk/test-e2e/case/module-abi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Module Abi API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/rooch-sdk/test-e2e/case/session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Checkpoints Session API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/rooch-sdk/test-e2e/case/transaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Checkpoints Transaction API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/rooch-sdk/test-e2e/case/transfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Checkpoints Transfer API', () => {
testBox = TestBox.setup()
})

afterAll(async ()=> {
afterAll(async () => {
testBox.cleanEnv()
})

Expand Down

0 comments on commit 0ac7e15

Please sign in to comment.