From c280227289776102741a67ea70381d36131bd3d0 Mon Sep 17 00:00:00 2001 From: nedsalk Date: Mon, 16 Dec 2024 15:22:33 +0100 Subject: [PATCH] fix lint --- packages/fuel-gauge/src/abi/abi-gen.test.ts | 2 +- packages/fuel-gauge/src/recipes.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/fuel-gauge/src/abi/abi-gen.test.ts b/packages/fuel-gauge/src/abi/abi-gen.test.ts index 682b3a7812f..b0e0bfc9945 100644 --- a/packages/fuel-gauge/src/abi/abi-gen.test.ts +++ b/packages/fuel-gauge/src/abi/abi-gen.test.ts @@ -1,4 +1,4 @@ -import { readFileSync, writeFileSync } from 'fs'; +import { readFileSync } from 'fs'; import { AbiGen } from 'fuels'; import { getProgramDetails } from 'fuels/cli-utils'; import { join } from 'path'; diff --git a/packages/fuel-gauge/src/recipes.test.ts b/packages/fuel-gauge/src/recipes.test.ts index 6fa4daec1ed..32e5343bb04 100644 --- a/packages/fuel-gauge/src/recipes.test.ts +++ b/packages/fuel-gauge/src/recipes.test.ts @@ -34,13 +34,13 @@ describe('recipes', () => { .proxy_target() .call(); const firstTarget = await waitForFirstTarget(); - expect(firstTarget.value.bits).toEqual(targetAddress); + expect(firstTarget.value?.bits).toEqual(targetAddress); const anotherProxy = new Src14OwnedProxy(proxyAddress, wallet); const { waitForResult: waitForAnotherTarget } = await anotherProxy.functions .proxy_target() .call(); const anotherTarget = await waitForAnotherTarget(); - expect(anotherTarget.value.bits).toEqual(targetAddress); + expect(anotherTarget.value?.bits).toEqual(targetAddress); }); });