Skip to content

Commit

Permalink
Fix lint error in plugin.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Aug 28, 2023
1 parent 2b4bce9 commit 579da12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/plugin/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ for (const fixture of fixtures) {

it('Create valid key', async function () {
const keys = await tools.createPrivateKey(WALLET_TYPE)
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
assert.equal(!keys, false)
assert.isDefined(keys)
assert.equal(typeof keys[keyName], 'string')
const length = keys[keyName].length
assert.equal(length, fixture.key_length)
Expand Down

0 comments on commit 579da12

Please sign in to comment.