Skip to content

Commit 52cff3c

Browse files
committed
modify by lint
1 parent 6c93ecb commit 52cff3c

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

lib/agent/common/const.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ export const testProviders = {
1919
arbRinkeby: ethers.getDefaultProvider(env.arbRinkeby),
2020
polyMumbai: ethers.getDefaultProvider(env.polygonMumbai),
2121
}
22-

lib/agent/lockup/common.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('common.ts', () => {
1818
testProviders.homestead
1919
)(addresses.eth['main'].registry).lockup()
2020
const expected = await expectedLockup(lockupAddress)
21-
const wallet = new ethers.Wallet(env.mnemonic, testProviders.homestead)
21+
const wallet = new ethers.Wallet(env.mnemonic, testProviders.homestead)
2222
const result = await getLockupContract(wallet)
2323
expect(JSON.stringify(result)).toEqual(JSON.stringify(expected))
2424
})

lib/agent/lockup/positionsCreate.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ describe('positionsCreate.ts', () => {
1111
fallback: undefined,
1212
}
1313

14-
it("", async () => {
14+
it('', async () => {
1515
// await window.ethereum.enable()
16-
const wallet = new ethers.Wallet(env.mnemonic, testProviders.ropsten)
17-
console.log(wallet)
18-
const options: Options = {
16+
const wallet = new ethers.Wallet(env.mnemonic, testProviders.ropsten)
17+
console.log(wallet)
18+
const options: Options = {
1919
wallet,
2020
propertyAddress,
2121
amount,
2222
overrides,
2323
}
24-
const tx = await positionsCreate(options).then(result => result)
24+
const tx = await positionsCreate(options).then((result) => result)
2525
console.log(tx)
2626
})
2727
it('return undefined if network is not valid', async () => {
@@ -32,7 +32,7 @@ describe('positionsCreate.ts', () => {
3232
amount,
3333
overrides,
3434
}
35-
const tx = await positionsCreate(options).then(result => result)
35+
const tx = await positionsCreate(options).then((result) => result)
3636
expect(tx).toEqual(undefined)
3737
})
3838
})

lib/agent/lockup/positionsCreate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Provider } from '@ethersproject/abstract-provider'
44
import { FallbackableOverrides } from '../../common/utils/execute'
55
import { Wallet } from 'ethers'
66

7-
87
export type Options = {
98
readonly wallet: Wallet
109
readonly propertyAddress: string

0 commit comments

Comments
 (0)